[v2,1/3] ath6kl: Fix WLAN tethering authentication problem.
Kalle Valo
kvalo at qca.qualcomm.com
Tue Jul 19 06:25:31 PDT 2016
Pierre Le Magourou <lemagoup at gmail.com> wrote:
> From: Pierre Le Magourou <plemagourou at aldebaran.com>
>
> When enabling WLAN tethering, a new AP is visible and a STA could
> connect to it. When the STA tries to authenticate to the newly created
> AP, the WPA authentication mechanism is stuck in the 1/4 msg of 4-Way
> Handshake.
>
> In ath6kl_rx(), the ath6kl_find_sta() function is looking for the
> h_source field of the Ethernet frame header received by the STA. The
> datap pointer that points to the Ethernet frame header is incorrect,
> and was pointing at the wrong offset in the buffer.
>
> This commit adds a pad_before_data_start offset to set the datap pointer
> to the Ethernet frame header. datap->h_source parameter is now really
> pointing to the source ethernet address and the authentication process
> can continue.
>
> Signed-off-by: Pierre Le Magourou <plemagourou at aldebaran.com>
Thanks, 3 patches applied to ath-next branch of ath.git:
270df8f80d67 ath6kl: Fix WLAN tethering authentication problem.
f3651bae5644 ath6kl: Fix wrong regulatory domain disconnection.
76b817f6c9a9 ath6kl: Unset IFF_LOWER_UP flag on AP mode leave.
--
Sent by pwcli
https://patchwork.kernel.org/patch/9212263/
More information about the ath6kl
mailing list