mirror of https://github.com/hak5/openwrt-owl.git
ath9k: fix setting channel bandwidth before bringing up interfaces
SVN-Revision: 29295owl
parent
9389593db9
commit
8a33526c4e
|
@ -51,7 +51,7 @@
|
||||||
+ return -EINVAL;
|
+ return -EINVAL;
|
||||||
+
|
+
|
||||||
+ sc->chan_bw = chan_bw;
|
+ sc->chan_bw = chan_bw;
|
||||||
+ if (!sc->ps_idle)
|
+ if (!(sc->sc_flags & SC_OP_INVALID))
|
||||||
+ ath9k_config(sc->hw, IEEE80211_CONF_CHANGE_CHANNEL);
|
+ ath9k_config(sc->hw, IEEE80211_CONF_CHANGE_CHANNEL);
|
||||||
+
|
+
|
||||||
+ return count;
|
+ return count;
|
||||||
|
|
Loading…
Reference in New Issue