ath6kl: Fix connect command to clear previously used IEs
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 15 Dec 2011 12:16:00 +0000 (14:16 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 23 Dec 2011 12:42:44 +0000 (14:42 +0200)
commit6e786cb1e514dc87647beccaa96bd8a255d97a0c
tree522a0c07641cd0316e4d2ff02f23c92592497c8f
parent5e13fd354a39d637df9b25edcb2964edf4a7c534
ath6kl: Fix connect command to clear previously used IEs

Empty IE buffer means that the new association is not supposed to
include extra IEs. Make sure any previously configured (Re)Association
Request frame IEs get cleared in such a case. This is based on a patch
from Shuibing.

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