linux/drivers/net/wireless
Andrey Yurovsky efcfd1f28f libertas: correct card cleanup order in SPI driver
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: Andrey Yurovsky <andrey@cozybit.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-10 15:01:55 -04:00
..
ath ath9k: remove ath_rx_ps_back_to_sleep helper 2009-07-10 15:01:47 -04:00
b43 mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
b43legacy mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
hostap net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
ipw2x00 net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
iwlwifi mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
iwmc3200wifi cfg80211: implement iwpower 2009-07-10 15:01:51 -04:00
libertas libertas: correct card cleanup order in SPI driver 2009-07-10 15:01:55 -04:00
libertas_tf mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
orinoco orinoco: fix printk format specifier for size_t arguments 2009-07-10 15:01:54 -04:00
p54 mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
prism54 net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
rt2x00 mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
rtl818x mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
wl12xx mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
zd1211rw zd1211rw: sort vid/pid pairs by numerical value 2009-07-10 15:01:41 -04:00
adm8211.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
adm8211.h
airo.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
airo.h
airo_cs.c
arlan-main.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
arlan-proc.c
arlan.h
at76c50x-usb.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
at76c50x-usb.h
atmel.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
atmel.h
atmel_cs.c
atmel_pci.c
i82586.h
i82593.h
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-06-15 03:02:23 -07:00
mac80211_hwsim.c cfg80211: introduce nl80211 testmode command 2009-07-10 15:01:50 -04:00
Makefile iwmc3200wifi: Add new Intel Wireless Multicomm 802.11 driver 2009-05-22 14:06:02 -04:00
mwl8k.c mac80211: push rx status into skb->cb 2009-07-10 14:57:54 -04:00
netwave_cs.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
ray_cs.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: convert set/get txpower to cfg80211 2009-07-10 14:57:53 -04:00
strip.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
wavelan.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
wavelan.h
wavelan.p.h
wavelan_cs.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
wavelan_cs.h
wavelan_cs.p.h
wl3501.h
wl3501_cs.c net: convert remaining non-symbolic return values in ndo_start_xmit() functions 2009-07-05 19:23:38 -07:00
zd1201.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
zd1201.h