diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-01-07 20:54:33 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-01-07 20:54:33 +0000 |
commit | 50d5d3d521d4818215814dbf4e9a24e26f1ce221 (patch) | |
tree | a191ea2d4458b3028f65379eb0a7ba9f86afe406 /package/mac80211/patches/513-ath9k_channelbw_debugfs.patch | |
parent | 06a14f561a6450dee7b6ec1cd18047c9957a38b4 (diff) | |
download | master-187ad058-50d5d3d521d4818215814dbf4e9a24e26f1ce221.tar.gz master-187ad058-50d5d3d521d4818215814dbf4e9a24e26f1ce221.tar.bz2 master-187ad058-50d5d3d521d4818215814dbf4e9a24e26f1ce221.zip |
ath9k: merge a channel change fix from linux-wireless
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29684 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/513-ath9k_channelbw_debugfs.patch')
-rw-r--r-- | package/mac80211/patches/513-ath9k_channelbw_debugfs.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch index c5ca0e2b57..ae65b60e1b 100644 --- a/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch +++ b/package/mac80211/patches/513-ath9k_channelbw_debugfs.patch @@ -90,19 +90,19 @@ { struct ath_softc *sc = hw->priv; struct ath_hw *ah = sc->sc_ah; -@@ -1616,9 +1616,10 @@ static int ath9k_config(struct ieee80211 +@@ -1616,9 +1616,11 @@ static int ath9k_config(struct ieee80211 if (changed & IEEE80211_CONF_CHANGE_CHANNEL) { struct ieee80211_channel *curchan = hw->conf.channel; -- struct ath9k_channel old_chan; -+ struct ath9k_channel old_chan, *hchan; ++ struct ath9k_channel *hchan; int pos = curchan->hw_value; int old_pos = -1; -+ u32 oldflags; unsigned long flags; ++ u32 oldflags; if (ah->curchan) -@@ -1671,7 +1672,23 @@ static int ath9k_config(struct ieee80211 + old_pos = ah->curchan - &ah->channels[0]; +@@ -1667,7 +1669,23 @@ static int ath9k_config(struct ieee80211 memset(&sc->survey[pos], 0, sizeof(struct survey_info)); } |