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)
commit3c774bbab78435e349de2c88fc6e054716f8f2ea
treeb323ad5f398ef346951adb4cdd017c286d8e2ece
parent6a7c9badab158086b6162c661a47c4f1a4a68e92
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