ath6kl: Make sure wiphy is registered before calling regulatory_hint()
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Sat, 25 Feb 2012 09:13:17 +0000 (14:43 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 1 Mar 2012 06:33:45 +0000 (08:33 +0200)
commite5348a1e3341dca3e53a6db568c2d4d48929dd95
tree1d3d08d0d6c66afc774fcb3c540764494b293a39
parentb796f0934ae07fdd26d265ac9bf87e18921d7fef
ath6kl: Make sure wiphy is registered before calling regulatory_hint()

As regulatory events are processed even before the wiphy is registered,
calling regulatory_hint() at early stage should be fixed.

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
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/wmi.c