git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wl1271: Indicate disconnection on hardware failure
[pandora-kernel.git]
/
drivers
/
net
/
wireless
/
wl12xx
/
wl1271_main.c
diff --git
a/drivers/net/wireless/wl12xx/wl1271_main.c
b/drivers/net/wireless/wl12xx/wl1271_main.c
index
760a581
..
d826b66
100644
(file)
--- a/
drivers/net/wireless/wl12xx/wl1271_main.c
+++ b/
drivers/net/wireless/wl12xx/wl1271_main.c
@@
-636,6
+636,9
@@
static void wl1271_recovery_work(struct work_struct *work)
wl1271_info("Hardware recovery in progress.");
+ if (test_bit(WL1271_FLAG_STA_ASSOCIATED, &wl->flags))
+ ieee80211_connection_loss(wl->vif);
+
/* reboot the chipset */
__wl1271_op_remove_interface(wl);
ieee80211_restart_hw(wl->hw);