summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-15 21:16:38 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-06-15 21:16:38 +0000
commit58dfdd9138513b115776b57de653e314b0b4ba72 (patch)
treea181a9680f3cc051d28d4bb5fdd04f68455dfb2f /package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
parent6e8223e0dd06bd9264622624bc68553137bcce71 (diff)
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27187 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 d67a661ac..c21371fca 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);
-