提交 a587526a 编写于 作者: E Edward Lu 提交者: Kalle Valo

ath6kl: Do not clear CONNECT bit setting in AP mode for STA disconnect

Signed-off-by: NEdward Lu <elu@qca.qualcomm.com>
Signed-off-by: NJouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 229ed6b5
......@@ -1284,7 +1284,8 @@ void ath6kl_disconnect_event(struct ath6kl *ar, u8 reason, u8 *bssid,
cfg80211_del_sta(ar->net_dev, bssid, GFP_KERNEL);
}
clear_bit(CONNECTED, &ar->flag);
if (memcmp(ar->net_dev->dev_addr, bssid, ETH_ALEN) == 0)
clear_bit(CONNECTED, &ar->flag);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册