mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 02:13:55 +02:00
ath9k: fix operating state check on changing the channel bandwidth via debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33891 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
280fdff36e
commit
b67c49aee3
@ -51,7 +51,7 @@
|
||||
+ return -EINVAL;
|
||||
+
|
||||
+ sc->chan_bw = chan_bw;
|
||||
+ if (!(sc->sc_flags & SC_OP_INVALID))
|
||||
+ if (!test_bit(SC_OP_INVALID, &sc->sc_flags))
|
||||
+ ath9k_config(sc->hw, IEEE80211_CONF_CHANGE_CHANNEL);
|
||||
+
|
||||
+ return count;
|
||||
|
Loading…
Reference in New Issue
Block a user