Pierre Le Magourou <lemagoup@xxxxxxxxx> wrote: > From: Pierre Le Magourou <plemagourou@xxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxx> 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/ -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html