mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ath9k: fix setting channel bandwidth before bringing up interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29295 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user