From: Brent Taylor Date: Tue, 9 Jun 2015 11:11:19 +0000 (+0300) Subject: ath6kl: Fix multiple clients associating in AP mode X-Git-Tag: v4.2-rc1~130^2~34^2~3^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31ba6a088ed1739abe0ac5b305fc9b76bd70b39a;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/wmi.h b/drivers/net/wireless/ath/ath6kl/wmi.h index 19f88b4..05d25a9 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;