summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-07 01:30:42 +0400
committerJohn W. Linville <linville@tuxdriver.com>2012-03-07 22:51:49 +0400
commitb1eea297d6b522b801c95b60b1e64fb61228c6c7 (patch)
tree20004f65acf9d342029900936fd04d67d90cb5ec /drivers/net/wireless/iwlwifi/iwl-dev.h
parent2cc39c94c15ba1d5f6f71ab73f3369f9c17856ad (diff)
downloadlinux-b1eea297d6b522b801c95b60b1e64fb61228c6c7.tar.xz
iwlwifi: move mutex out of shared
Now the mutex no longer needs to be shared, so move it into iwl_priv. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 4def9f961891..73acbab6c248 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -36,6 +36,7 @@
#include <linux/wait.h>
#include <linux/leds.h>
#include <linux/slab.h>
+#include <linux/mutex.h>
#include <net/ieee80211_radiotap.h>
#include "iwl-eeprom.h"
@@ -718,6 +719,7 @@ struct iwl_priv {
const struct iwl_fw *fw;
spinlock_t sta_lock;
+ struct mutex mutex;
/* ieee device used by generic ieee processing code */
struct ieee80211_hw *hw;