|
@@ -795,7 +795,11 @@ int ath10k_core_start(struct ath10k *ar)
|
|
if (status)
|
|
if (status)
|
|
goto err_htc_stop;
|
|
goto err_htc_stop;
|
|
|
|
|
|
- ar->free_vdev_map = (1 << TARGET_NUM_VDEVS) - 1;
|
|
|
|
|
|
+ if (test_bit(ATH10K_FW_FEATURE_WMI_10X, ar->fw_features))
|
|
|
|
+ ar->free_vdev_map = (1 << TARGET_10X_NUM_VDEVS) - 1;
|
|
|
|
+ else
|
|
|
|
+ ar->free_vdev_map = (1 << TARGET_NUM_VDEVS) - 1;
|
|
|
|
+
|
|
INIT_LIST_HEAD(&ar->arvifs);
|
|
INIT_LIST_HEAD(&ar->arvifs);
|
|
|
|
|
|
if (!test_bit(ATH10K_FLAG_FIRST_BOOT_DONE, &ar->dev_flags))
|
|
if (!test_bit(ATH10K_FLAG_FIRST_BOOT_DONE, &ar->dev_flags))
|