Stanislaw Gruszka 2fa4cb9056 ath9k_htc: make ->sta_rc_update atomic for most calls
sta_rc_update() callback must be atomic, hence we can not take mutexes
or do other operations, which can sleep in ath9k_htc_sta_rc_update().

I think we can just return from ath9k_htc_sta_rc_update(), if it is
called without IEEE80211_RC_SUPP_RATES_CHANGED bit. That will help
with scheduling while atomic bug for most cases (except mesh and IBSS
modes).

For mesh and IBSS I do not see other solution like creating additional
workqueue, because sending firmware command require us to sleep, but
this can be done in additional patch.

Patch partially fixes bug:
https://bugzilla.redhat.com/show_bug.cgi?id=990955

Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-02-04 15:30:06 -05:00
..
2013-09-26 15:13:38 -04:00
2013-08-28 13:58:27 -04:00
2014-01-03 15:37:00 -05:00
2013-10-14 13:39:58 -04:00
2014-01-03 15:37:01 -05:00
2012-05-15 17:27:55 -04:00
2013-12-02 14:24:53 -05:00
2014-01-13 14:50:05 -05:00
2014-01-03 15:36:58 -05:00
2013-12-18 15:23:22 -05:00
2014-01-13 14:50:05 -05:00
2013-10-18 14:03:54 -04:00
2013-12-18 15:23:22 -05:00
2014-01-16 14:55:45 -05:00
2013-01-11 14:12:01 -05:00
2014-01-23 14:02:45 -05:00
2014-01-23 14:02:45 -05:00
2014-01-03 15:36:58 -05:00
2014-01-03 15:36:57 -05:00
2014-01-23 14:02:45 -05:00
2014-01-09 10:56:40 -05:00
2014-01-16 14:55:44 -05:00
2013-12-18 15:23:37 -05:00
2013-09-26 15:13:48 -04:00
2014-01-03 15:36:58 -05:00
2014-01-13 14:50:05 -05:00