diff options
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 5b45f3a8ec40..2a4e7aa4611a 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c | |||
@@ -2205,7 +2205,7 @@ static int ath10k_add_interface(struct ieee80211_hw *hw, | |||
2205 | struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif); | 2205 | struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif); |
2206 | enum wmi_sta_powersave_param param; | 2206 | enum wmi_sta_powersave_param param; |
2207 | int ret = 0; | 2207 | int ret = 0; |
2208 | u32 value; | 2208 | u32 value, param_id; |
2209 | int bit; | 2209 | int bit; |
2210 | u32 vdev_param; | 2210 | u32 vdev_param; |
2211 | 2211 | ||
@@ -2297,6 +2297,13 @@ static int ath10k_add_interface(struct ieee80211_hw *hw, | |||
2297 | ath10k_warn("Failed to create peer for AP: %d\n", ret); | 2297 | ath10k_warn("Failed to create peer for AP: %d\n", ret); |
2298 | goto err_vdev_delete; | 2298 | goto err_vdev_delete; |
2299 | } | 2299 | } |
2300 | |||
2301 | param_id = ar->wmi.pdev_param->sta_kickout_th; | ||
2302 | |||
2303 | /* Disable STA KICKOUT functionality in FW */ | ||
2304 | ret = ath10k_wmi_pdev_set_param(ar, param_id, 0); | ||
2305 | if (ret) | ||
2306 | ath10k_warn("Failed to disable STA KICKOUT\n"); | ||
2300 | } | 2307 | } |
2301 | 2308 | ||
2302 | if (arvif->vdev_type == WMI_VDEV_TYPE_STA) { | 2309 | if (arvif->vdev_type == WMI_VDEV_TYPE_STA) { |