diff options
author | Luciano Coelho <luciano.coelho@nokia.com> | 2009-10-12 15:08:43 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:02 -0400 |
commit | d6e19d135dadb1895296668914d0a15bc3cafcbf (patch) | |
tree | a661ff6aaba4de765be8140bcc4da47ccadd85ff /drivers/net/wireless/wl12xx/wl1271.h | |
parent | 25a7dc6d22adda590be4932ebc772ea35914880c (diff) | |
download | kernel-crypto-d6e19d135dadb1895296668914d0a15bc3cafcbf.tar.gz kernel-crypto-d6e19d135dadb1895296668914d0a15bc3cafcbf.tar.xz kernel-crypto-d6e19d135dadb1895296668914d0a15bc3cafcbf.zip |
wl1271: workaround to send a disconnect before rejoining
We don't get any indication from the stack when we have disassociated. In
wl1271, it is important to send a CMD_DISCONNECT before joining again,
because the firmware cleans some things up. So we check if we're already
joined and disconnect if that's the case.
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h index 96a58131694..858bf6b160a 100644 --- a/drivers/net/wireless/wl12xx/wl1271.h +++ b/drivers/net/wireless/wl12xx/wl1271.h @@ -422,6 +422,9 @@ struct wl1271 { struct wl1271_tx_hw_res_if *tx_res_if; struct ieee80211_vif *vif; + + /* Used for a workaround to send disconnect before rejoining */ + bool joined; }; int wl1271_plt_start(struct wl1271 *wl); |