ath10k: set max_num_vdevs based on wmi op version
authorKalle Valo <kvalo@qca.qualcomm.com>
Wed, 17 Dec 2014 10:20:45 +0000 (12:20 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 23 Dec 2014 15:17:48 +0000 (17:17 +0200)
commit30c78167bc6536d9074aa79385a575596343bf69
tree79fb9d7b8b4deb8e35363f8a6cca62429b447a74
parent75d2bd488301dbe81c2eb402bfcde5f988f72044
ath10k: set max_num_vdevs based on wmi op version

To make it easier to manage firmware differences, we should not use
ATH10K_FW_FEATURE_WMI_10X outside ath10k_core_init_firmware_features(). To
achieve that create new field ar->max_num_vdevs and set it based on wmi op
version.

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