Skip to contentSkip to conversation

ath6kl: Fix multiple clients associating in AP mode

PATCH Applied Brent Taylor 2 participants 2 messages May 9, 2015 – Jun 9, 2015 Atheros ATH6KL wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 drivers/net/wireless/ath/ath6kl/wmi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath6kl/wmi.h +1 -1
index 19f88b4..05d25a9 100644
@@ -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;
Signature · 1 line
2.4.0
Applied
#1 lore raw
Quoted 9 lines · Brent Taylor

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

Thanks, applied to ath.git.

Signature · 1 line
Kalle Valo