hostapd: when running AP+STA, preserve the AP 802.11n-enabled setting
[openwrt/svn-archive/archive.git] / package / network / services / hostapd / patches / 370-ap_sta_support.patch
index 92a5fddad74898b6021f365af149aa2cac255a69..cf13a96f0c180ba4e6cc23cafdbaa8a99095c2a8 100644 (file)
@@ -84,7 +84,7 @@
 +      }
 +
 +      hw_mode = ieee80211_freq_to_chan(bss->freq, &channel);
-+      if (asprintf(&cmd, "UPDATE channel=%d sec_chan=%d hw_mode=%d ieee80211n=%d",
++      if (asprintf(&cmd, "UPDATE channel=%d sec_chan=%d hw_mode=%d",
 +                   channel, sec_chan, hw_mode, !!bss->ht_capab) < 0)
 +              return -1;
 +