ath10k: do not setup rts/frag thresholds for suspended interfaces
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 5 Jul 2013 13:15:05 +0000 (16:15 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 30 Jul 2013 15:01:16 +0000 (18:01 +0300)
commit671b96db55c3ef372a5b01dfeb6b445b5c7cc3d1
tree0968f557a3ba6307deca384ba921bfbb77047410
parent679c54a67141fb12fd579c6097ebfab4cecf0043
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>
drivers/net/wireless/ath/ath10k/mac.c