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)
commit080eec4fb478f10c6f171875634fc3174da1a1c3
tree98822bd9143851f4537adddc06037447c1a3811c
parente5348a1e3341dca3e53a6db568c2d4d48929dd95
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