#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)
{