mac80211: minstrel_ht: significantly redesign the rate probing strategy
[linux-2.6-microblaze.git] / net / mac80211 / key.c
index a4817aa..56c068c 100644 (file)
@@ -887,7 +887,7 @@ void ieee80211_reenable_keys(struct ieee80211_sub_if_data *sdata)
        struct ieee80211_key *key;
        struct ieee80211_sub_if_data *vlan;
 
-       ASSERT_RTNL();
+       lockdep_assert_wiphy(sdata->local->hw.wiphy);
 
        mutex_lock(&sdata->local->key_mtx);
 
@@ -924,7 +924,7 @@ void ieee80211_iter_keys(struct ieee80211_hw *hw,
        struct ieee80211_key *key, *tmp;
        struct ieee80211_sub_if_data *sdata;
 
-       ASSERT_RTNL();
+       lockdep_assert_wiphy(hw->wiphy);
 
        mutex_lock(&local->key_mtx);
        if (vif) {