mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-15 02:57:39 +00:00
ath9k: fix operating state check on changing the channel bandwidth via debugfs
SVN-Revision: 33891
This commit is contained in:
parent
95e642632a
commit
3cf25176a4
@ -51,7 +51,7 @@
|
|||||||
+ return -EINVAL;
|
+ return -EINVAL;
|
||||||
+
|
+
|
||||||
+ sc->chan_bw = chan_bw;
|
+ 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);
|
+ ath9k_config(sc->hw, IEEE80211_CONF_CHANGE_CHANNEL);
|
||||||
+
|
+
|
||||||
+ return count;
|
+ return count;
|
||||||
|
Loading…
Reference in New Issue
Block a user