]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/cfg.c
cfg80211: Add new wireless regulatory infrastructure
[karo-tx-linux.git] / net / mac80211 / cfg.c
index 928813ce08e214c49c861b0979b762099690ddb6..5a3bdaad6c199c6ea140349048c781fe5696efbd 100644 (file)
 #include "rate.h"
 #include "mesh.h"
 
+struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy)
+{
+       struct ieee80211_local *local = wiphy_priv(wiphy);
+       return &local->hw;
+}
+EXPORT_SYMBOL(wiphy_to_hw);
+
 static enum ieee80211_if_types
 nl80211_type_to_mac80211_type(enum nl80211_iftype type)
 {