1. 01 6月, 2012 1 次提交
    • D
      xo1-rfkill: only act when blocked state is changed · bc7ab495
      Daniel Drake 提交于
      The XO-1 rfkill driver should only send EC commands when changing
      between blocked/unblocked state.
      
      The rfkill switch is asked to be unblocked on every resume (even when
      the card was never blocked before) and sending a EC_WLAN_LEAVE_RESET
      command here upsets the resume sequence of the libertas driver. Adding
      the check to avoid the spurious EC_WLAN_LEAVE_RESET fixes the wifi resume
      behaviour.
      
      The rfkill state is maintained by the hardware over suspend/resume
      so no extra consideration is needed here.
      Signed-off-by: NDaniel Drake <dsd@laptop.org>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      bc7ab495
  2. 21 3月, 2012 1 次提交
  3. 21 10月, 2010 1 次提交