projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
679c54a
)
ath10k: do not setup rts/frag thresholds for suspended interfaces
author
Michal Kazior
<michal.kazior@tieto.com>
Fri, 5 Jul 2013 13:15:05 +0000
(16:15 +0300)
committer
Kalle Valo
<kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:16 +0000
(18:01 +0300)
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>
drivers/net/wireless/ath/ath10k/mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/mac.c
b/drivers/net/wireless/ath/ath10k/mac.c
index 2bfb8fd9b28d5a72b518306259aaf5c5b6147ea9..87fa3c2d93824cf5be5f6a071ca71171fa860ee8 100644
(file)
--- 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_AL
L,
+ hw, IEEE80211_IFACE_ITER_
NORMA
L,
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_AL
L,
+ hw, IEEE80211_IFACE_ITER_
NORMA
L,
ath10k_set_frag_iter, &ar_iter);
mutex_unlock(&ar->conf_mutex);