1 mac80211 unsets the default wep key on disassoc.
2 The fw doesn't support this notification, so simply
5 The actual flow actually triggers fw recovery in some
6 cases, as mac80211 unsets the default key only after
7 disassoc, when wlvif->sta.hlid, resulting in invalid
8 hlid being passed to the fw.
10 Signed-off-by: Eliad Peller <eliad@wizery.com>
13 drivers/net/wireless/ti/wlcore/main.c | 4 ++++
14 1 file changed, 4 insertions(+)
16 --- a/drivers/net/wireless/ti/wlcore/main.c
17 +++ b/drivers/net/wireless/ti/wlcore/main.c
18 @@ -3505,6 +3505,10 @@ static void wl1271_op_set_default_key_id
19 wl1271_debug(DEBUG_MAC80211, "mac80211 set default key idx %d",
22 + /* we don't handle unsetting of default key */
26 mutex_lock(&wl->mutex);
28 if (unlikely(wl->state != WLCORE_STATE_ON)) {