diff options
author | David S. Miller <davem@davemloft.net> | 2010-08-06 13:30:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-06 13:30:43 -0700 |
commit | e225567960db50e9810a152c8621c7a6ed94de71 (patch) | |
tree | d0129e2988f8aea56d4f00f04c4818c2e8cc07a2 /drivers/net/wireless/iwlwifi/iwl-scan.c | |
parent | 4b030d4288a569d6bdeca884d7f102d951f097f2 (diff) | |
parent | a24d52f390a77ce90dc8cf0cd75d27ec0a6ea3f8 (diff) | |
download | linux-e225567960db50e9810a152c8621c7a6ed94de71.tar.gz linux-e225567960db50e9810a152c8621c7a6ed94de71.tar.bz2 linux-e225567960db50e9810a152c8621c7a6ed94de71.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index b0c6b0473901..a4b3663a262f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c @@ -298,7 +298,7 @@ EXPORT_SYMBOL(iwl_init_scan_params); static int iwl_scan_initiate(struct iwl_priv *priv, struct ieee80211_vif *vif) { - WARN_ON(!mutex_is_locked(&priv->mutex)); + lockdep_assert_held(&priv->mutex); IWL_DEBUG_INFO(priv, "Starting scan...\n"); set_bit(STATUS_SCANNING, &priv->status); |