ath9k: fix setting channel bandwidth before bringing up interfaces
[openwrt.git] / package / mac80211 / patches / 513-ath9k_channelbw_debugfs.patch
index ded102e..ef568dc 100644 (file)
@@ -51,7 +51,7 @@
 +              return -EINVAL;
 +
 +      sc->chan_bw = chan_bw;
-+      if (!sc->ps_idle)
++      if (!(sc->sc_flags & SC_OP_INVALID))
 +              ath9k_config(sc->hw, IEEE80211_CONF_CHANGE_CHANNEL);
 +
 +      return count;
This page took 0.026032 seconds and 4 git commands to generate.