1. 11 7月, 2009 3 次提交
    • A
      libertas: correct card cleanup order in SPI driver · efcfd1f2
      Andrey Yurovsky 提交于
      The SPI driver does a couple of card cleanup steps in the wrong order on
      module removal.  If IEEE PS is enabled, this results in the card being
      left in IEEE PS mode and subsequent failures to reload the module.  The
      problem is that the surpriseremoved flag is set before calling
      lbs_remove_card, but that function needs to issue a command to exit IEEE
      PS mode (the flag blocks the command path).  In addition, lbs_stop_card
      should be called first because it clears out any pending commands.
      
      Tested on a GSPI device with V9 firmware by confirming that we can
      reload the module with or without IEEE PS enabled.
      
      Also fix a warning from the wrong uint format in a printk.
      
      V2: use z modifier, thanks Sebastian.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      efcfd1f2
    • A
      libertas: copy WPA keys to priv when associating · ce8d096d
      Andrey Yurovsky 提交于
      Libertas currently maintains a copy of the WPA unicast and group keys
      when using WPA or WPA2.  This copy is checked when deciding whether or
      not to return to sleep in IEEE PS mode but the actual copying back to
      priv was omitted, which breaks IEEE PS mode with WPA/WPA2 when one
      issues commands that require temporarily keeping the device awake.
      
      This patch introduces the omitted copy-back of the keys so that IEEE PS
      functions correctly in WPA/WPA2 mode.  Thanks to Dan Williams for
      clearing up the issue.
      
      V2: fix typo.  Also, this has been tested on GSPI and SDIO with V9 firmware.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ce8d096d
    • A
      libertas: remove ps_supported flag, use fwcapinfo · e0d6133c
      Andrey Yurovsky 提交于
      Power save support depends on the firmware capabilities rather than the
      card's hardware interface.  Use the FW_CAPINFO_PS bit in the firmware
      capabilities mask throughout the driver in place of the redundant
      ps_supported flag and don't make decisions about PS support in the
      interface drivers (with the exception of a special case in the USB
      driver).
      
      V2: put the USB special case in the right place.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e0d6133c
  2. 16 6月, 2009 4 次提交
  3. 11 6月, 2009 1 次提交
  4. 04 6月, 2009 8 次提交
  5. 23 5月, 2009 5 次提交
  6. 25 4月, 2009 1 次提交
  7. 23 4月, 2009 5 次提交
  8. 16 4月, 2009 1 次提交
  9. 14 4月, 2009 1 次提交
  10. 30 3月, 2009 1 次提交
  11. 28 3月, 2009 1 次提交
  12. 22 3月, 2009 2 次提交
  13. 28 2月, 2009 2 次提交
  14. 27 2月, 2009 1 次提交
  15. 10 2月, 2009 2 次提交
  16. 30 1月, 2009 2 次提交