aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-06-15 21:16:38 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-06-15 21:16:38 +0000
commitdfcd340721e76af49cef4291fd24db41c13da21b (patch)
treea5c086eb1d3fbe2d9990a4bfcf9191e8ff701cf6 /package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
parentcd3bd6e13e5c023d62546444ef2c03d4eddf2d45 (diff)
downloadupstream-dfcd340721e76af49cef4291fd24db41c13da21b.tar.gz
upstream-dfcd340721e76af49cef4291fd24db41c13da21b.tar.bz2
upstream-dfcd340721e76af49cef4291fd24db41c13da21b.zip
package/mac80211: Add linux 3.0 compatibility
Add patches from Hauke adding linux 3.0 compatibility. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> SVN-Revision: 27187
Diffstat (limited to 'package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch')
-rw-r--r--package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch b/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
index d67a661ac4..c21371fca0 100644
--- a/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
+++ b/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
@@ -1,8 +1,6 @@
-diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
-index 2df72cb..1194eeb 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
-@@ -104,7 +104,7 @@ static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan)
+@@ -104,7 +104,7 @@ static int ar9003_hw_set_channel(struct
u32 chan_frac;
channelSel = (freq * 2) / 75;
@@ -11,4 +9,3 @@ index 2df72cb..1194eeb 100644
channelSel = (channelSel << 17) | chan_frac;
} else {
channelSel = CHANSEL_5G(freq);
-