Commit 31ba6a08 authored by Brent Taylor's avatar Brent Taylor Committed by Kalle Valo
Browse files

ath6kl: Fix multiple clients associating in AP mode

When one client is associated and connected to an ar6003 hw version
2.0 with firmware, 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: default avatarBrent Taylor <>
Signed-off-by: default avatarKalle Valo <>
parent 469d479f
...@@ -1527,8 +1527,8 @@ struct wmi_connect_event { ...@@ -1527,8 +1527,8 @@ struct wmi_connect_event {
__le32 nw_type; __le32 nw_type;
} sta; } sta;
struct { struct {
u8 phymode;
u8 aid; u8 aid;
u8 phymode;
u8 mac_addr[ETH_ALEN]; u8 mac_addr[ETH_ALEN];
u8 auth; u8 auth;
u8 keymgmt; u8 keymgmt;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment