From 03fcc9bf43b27157fba896cb7d48a7e4ca4d02ee Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 18 Nov 2013 19:58:53 +0000 Subject: ath9k: merge a few reset / calibration fixes Signed-off-by: Felix Fietkau SVN-Revision: 38854 --- package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch') diff --git a/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch b/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch index 2b16ae1278..88e0756814 100644 --- a/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch +++ b/package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch @@ -110,16 +110,14 @@ case NL80211_CHAN_WIDTH_5: flags |= CHANNEL_QUARTER; break; -@@ -97,12 +111,13 @@ struct ath9k_channel *ath9k_cmn_get_chan +@@ -97,10 +111,11 @@ struct ath9k_channel *ath9k_cmn_get_chan struct cfg80211_chan_def *chandef) { struct ieee80211_channel *curchan = chandef->chan; + struct ath_common *common = ath9k_hw_common(ah); struct ath9k_channel *channel; - u8 chan_idx; - chan_idx = curchan->hw_value; - channel = &ah->channels[chan_idx]; + channel = &ah->channels[curchan->hw_value]; - ath9k_cmn_update_ichannel(channel, chandef); + ath9k_cmn_update_ichannel(common, channel, chandef); -- cgit v1.2.3