ath6kl: Use cfg80211_roamed_bss() to report roaming event
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Tue, 13 Dec 2011 11:49:57 +0000 (17:19 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 23 Dec 2011 12:31:18 +0000 (14:31 +0200)
commit5e13fd354a39d637df9b25edcb2964edf4a7c534
treeb9b2259808fcc0dc577edf34c0539a3f0e2e9b8d
parent7e95e365d5399647a41e10059e4b09826b82d78b
ath6kl: Use cfg80211_roamed_bss() to report roaming event

This is to avoid the scenario where the bss entry of the AP got
expired when reporting roaming event to current AP. As the bss
entry for the current bss is available in driver, pass this bss
to cfg80211. This fixes WARNING: at net/wireless/sme.c:586.

This patch depends on the following patch in cfg80211
"cfg80211: Fix race in bss timeout".

Reported-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c