]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Fix AP mode (Re)AssocReq IE processing
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 30 Aug 2011 18:57:51 +0000 (21:57 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 31 Aug 2011 07:13:00 +0000 (10:13 +0300)
commitf6502063b5a7f61449d4d15ed247265b69a79863
treeb323ad5f398ef346951adb4cdd017c286d8e2ece
parentd85ade3e05476db27a535c7189f6ab9df66477b1
ath6kl: Fix AP mode (Re)AssocReq IE processing

Need to use correct length field for association request frame and
parse the IEs to find WPA/WPS/RSN IE. In addition, copying of the
IE better make sure it fits in into the buffer to avoid buffer
overflows.

In addition, add the (Re)AssocReq IEs to the cfg80211 new station
event for user space.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/main.c