summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorBrent Taylor <motobud@gmail.com>2015-06-09 14:11:19 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2015-06-09 14:12:44 +0300
commit31ba6a088ed1739abe0ac5b305fc9b76bd70b39a (patch)
treee6e2ac4f253af5738a4b89d348053573197d74dc /drivers/net/wireless
parent469d479f91b8277cc921d7525f31c832b25d9efb (diff)
downloadlinux-31ba6a088ed1739abe0ac5b305fc9b76bd70b39a.tar.bz2
ath6kl: Fix multiple clients associating in AP mode
When one client is associated and connected to an ar6003 hw version 2.0 with firmware 3.1.1.149, and another client tries to connect, the first client's MAC address is lost in the station list because the "aid" is always "1". The structure "wmi_connect_event" has the "aid" as the second byte in the message, but it should be the first byte. This patch has been tested with linux-3.10.40 Signed-off-by: Brent Taylor <motobud@gmail.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath6kl/wmi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h
index 19f88b4a24fb..05d25a94c781 100644
--- a/drivers/net/wireless/ath/ath6kl/wmi.h
+++ b/drivers/net/wireless/ath/ath6kl/wmi.h
@@ -1527,8 +1527,8 @@ struct wmi_connect_event {
__le32 nw_type;
} sta;
struct {
- u8 phymode;
u8 aid;
+ u8 phymode;
u8 mac_addr[ETH_ALEN];
u8 auth;
u8 keymgmt;