ath6kl: refactor wmi scan command
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 19 Jul 2012 13:00:48 +0000 (16:00 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 24 Oct 2012 08:49:35 +0000 (11:49 +0300)
commit11f0bfcf73f4a90c8c0e0b244a272379b376adb1
tree0a7ff3e09d0059df8ceda77cea5c059964ebe40e
parentc8c72b74e289a3439e9c2438ca675c5a746bf929
ath6kl: refactor wmi scan command

ATH6KL_FW_CAPABILITY_STA_P2PDEV_DUPLEX was checked in cfg80211.c which is
a bit awkward when adding more callsites to the scan functions. Refactor
the code to wmi.c so that it's transparent to the callers.

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