struct ieee80211_if_ibss *ifibss = &sdata->u.ibss is used as the lock owner. Aparently this doesn't matter as long as lock debugging is switched off, but does not compile (as ifibss is undefined in the function) otherwise.
Signed-off-by: Daniel Golle <dgo...@allnet.de> Index: package/mac80211/patches/310-ibss_ht.patch =================================================================== --- package/mac80211/patches/310-ibss_ht.patch (revision 28079) +++ package/mac80211/patches/310-ibss_ht.patch (working copy) @@ -408,7 +408,7 @@ IEEE80211_STYPE_ACTION); --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c -@@ -35,6 +35,76 @@ +@@ -35,6 +35,77 @@ #define IEEE80211_IBSS_MAX_STA_ENTRIES 128 @@ -437,6 +437,7 @@ + struct ieee80211_mgmt *mgmt, + struct ieee80211_ht_info *ht_info) +{ ++ struct ieee80211_if_ibss *ifibss = &sdata->u.ibss; + struct ieee80211_local *local = sdata->local; + struct ieee80211_supported_band *sband = + local->hw.wiphy->bands[local->oper_channel->band]; _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel