]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Clear the IE in firmware if not set
authorAarthi Thiruvengadam <athiruve@qca.qualcomm.com>
Tue, 28 Feb 2012 17:17:04 +0000 (09:17 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 1 Mar 2012 06:37:32 +0000 (08:37 +0200)
commit96ebff3b9ba9c93242e42f3b5680c31c170557a3
tree98822bd9143851f4537adddc06037447c1a3811c
parentd58c5ecc9ce0e4a18bb17b396ce5cf756822d7c5
ath6kl: Clear the IE in firmware if not set

Remove check so that IE in firmware is cleared if not set. Without this fix, any
previously set IE will be used incorrectly in the next frame. For example,
consider the scenario where a P2P device scan is followed by a regular station
scan. The P2P IE set by the P2P scan needs to be cleared, otherwise the station
scan will contain the P2P IE.

kvalo: indentation fixes

Signed-off-by: Aarthi Thiruvengadam <athiruve@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c