diff options
author | Michal Kazior | 2013-07-05 15:15:05 +0200 |
---|---|---|
committer | Kalle Valo | 2013-07-30 17:01:16 +0200 |
commit | 671b96db55c3ef372a5b01dfeb6b445b5c7cc3d1 (patch) | |
tree | 0968f557a3ba6307deca384ba921bfbb77047410 /drivers/net/wireless/ath/ath10k/mac.c | |
parent | ath10k: setup rts/frag thresholds upon vdev creation (diff) | |
download | kernel-qcow2-linux-671b96db55c3ef372a5b01dfeb6b445b5c7cc3d1.tar.gz kernel-qcow2-linux-671b96db55c3ef372a5b01dfeb6b445b5c7cc3d1.tar.xz kernel-qcow2-linux-671b96db55c3ef372a5b01dfeb6b445b5c7cc3d1.zip |
ath10k: do not setup rts/frag thresholds for suspended interfaces
mac80211 calls for rts/frag threshold hooks before
any interface is brought back up again when
resuming.
We would set vdev parameters before given vdev is
created lading to a FW crash.
rts/frag thresholds will be re-set accordingly in
add_interface() hook anyway.
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/ath10k/mac.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 2bfb8fd9b28d..87fa3c2d9382 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -2600,7 +2600,7 @@ static int ath10k_set_rts_threshold(struct ieee80211_hw *hw, u32 value) mutex_lock(&ar->conf_mutex); ieee80211_iterate_active_interfaces_atomic( - hw, IEEE80211_IFACE_ITER_RESUME_ALL, + hw, IEEE80211_IFACE_ITER_NORMAL, ath10k_set_rts_iter, &ar_iter); mutex_unlock(&ar->conf_mutex); @@ -2642,7 +2642,7 @@ static int ath10k_set_frag_threshold(struct ieee80211_hw *hw, u32 value) mutex_lock(&ar->conf_mutex); ieee80211_iterate_active_interfaces_atomic( - hw, IEEE80211_IFACE_ITER_RESUME_ALL, + hw, IEEE80211_IFACE_ITER_NORMAL, ath10k_set_frag_iter, &ar_iter); mutex_unlock(&ar->conf_mutex); |