ath10k: fill max_num_vdevs for wmi-tlv
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 8 Jan 2015 10:36:56 +0000 (11:36 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Jan 2015 14:18:33 +0000 (16:18 +0200)
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>
drivers/net/wireless/ath/ath10k/core.c

index 2d0671ebcf2b306229c808f202389f2c371ffa7e..a5465752a3ff19711f9a3527c7f14492d34a87d1 100644 (file)
@@ -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:
This page took 0.028637 seconds and 5 git commands to generate.