iwlwifi: add missing rcu_read_lock
authorJohannes Berg <johannes.berg@intel.com>
Mon, 7 Jun 2010 19:20:38 +0000 (21:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Jun 2010 18:34:08 +0000 (14:34 -0400)
commit6db6340c42d027b6364d49fa99d69019aca24de4
treeac8e547e4f22edfaed9336899807112dbb185847
parent35dd0509b21e4b5bab36b9eb80c8dab0322f5007
iwlwifi: add missing rcu_read_lock

Using ieee80211_find_sta() needs to be under
RCU read lock, which iwlwifi currently misses,
so fix it.

Cc: stable@kernel.org
Reported-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c