commit | cfcdbde35e2b621cf56bedc38a3a81e8c28addb9 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Jun 10 10:21:48 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Jun 14 15:39:28 2010 -0400 |
tree | cd0664681dc4629f7ce9a3319868eebb005060ff | |
parent | 83a5cbf73a13d0c8be019b22afec4407e4285aed [diff] |
mac80211: change TX aggregation locking To prepare for allowing drivers to sleep in ampdu_action, change the locking in the TX aggregation code to use the mutex the RX part already uses. The spinlock is still necessary around some code to avoid races with TX, but now we can also synchronize_net() to avoid getting an inconsistent sequence number. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>