mac80211: allow scans in access point mode (for site survey)
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 524-mac80211_configure_antenna_gain.patch
index 9bf7fc94b25b024256ef3fc4c428d4531574e05a..b2870a8aa10215087db17315e9f9d919b0dff7c1 100644 (file)
                u32 tx_ant, rx_ant;
 --- a/net/mac80211/cfg.c
 +++ b/net/mac80211/cfg.c
-@@ -1986,6 +1986,19 @@ static int ieee80211_get_tx_power(struct
+@@ -1984,6 +1984,19 @@ static int ieee80211_get_tx_power(struct
        return 0;
  }
  
  static int ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev,
                                  const u8 *addr)
  {
-@@ -3084,6 +3097,7 @@ struct cfg80211_ops mac80211_config_ops 
+@@ -3082,6 +3095,7 @@ struct cfg80211_ops mac80211_config_ops 
        .set_wiphy_params = ieee80211_set_wiphy_params,
        .set_tx_power = ieee80211_set_tx_power,
        .get_tx_power = ieee80211_get_tx_power,