From 8a33526c4eba06c1453d73cf5e44d39c23daaf12 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 23 Nov 2011 13:55:14 +0000 Subject: [PATCH] ath9k: fix setting channel bandwidth before bringing up interfaces SVN-Revision: 29295 --- package/mac80211/patches/513-ath9k_channelbw_debugfs.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch index ded102e14479..ef568dc2ad22 100644 --- a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch +++ b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch @@ -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; -- 2.30.2