diff options
author | Michal Kazior | 2015-01-08 11:36:56 +0100 |
---|---|---|
committer | Kalle Valo | 2015-01-13 15:18:33 +0100 |
commit | 49274332a43a70b3a3f40ba6db14d9c0677e8e02 (patch) | |
tree | 02112f440ff8efc4711ff7fe1edc3028532f331a /drivers/net/wireless/ath | |
parent | ath10k: Remove unused htt->max_throughput_mbps (diff) | |
download | kernel-qcow2-linux-49274332a43a70b3a3f40ba6db14d9c0677e8e02.tar.gz kernel-qcow2-linux-49274332a43a70b3a3f40ba6db14d9c0677e8e02.tar.xz kernel-qcow2-linux-49274332a43a70b3a3f40ba6db14d9c0677e8e02.zip |
ath10k: fill max_num_vdevs for wmi-tlv
Recent commit
30c78167bc6536d9074aa79385a575596343bf69 ("ath10k:
set max_num_vdevs based on wmi op version")
skipped wmi-tlv case and left max_num_vdevs reset.
Make sure it is properly set.
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index 2d0671ebcf2b..a5465752a3ff 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -927,6 +927,7 @@ static int ath10k_core_init_firmware_features(struct ath10k *ar) case ATH10K_FW_WMI_OP_VERSION_TLV: ar->max_num_peers = TARGET_TLV_NUM_PEERS; ar->max_num_stations = TARGET_TLV_NUM_STATIONS; + ar->max_num_vdevs = TARGET_TLV_NUM_VDEVS; ar->htt.max_num_pending_tx = TARGET_TLV_NUM_MSDU_DESC; break; case ATH10K_FW_WMI_OP_VERSION_UNSET: |