aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-06-24 19:53:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-06-24 19:53:13 +0000
commit2686ccd16df677ae3f4250bc51c7c2fd7b6688d7 (patch)
treea44f783eb47dde96b98457e9980bab5808af8a0c /package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
parentfdc2c49a186b639f8398aa1f38d6a5175fdb57f3 (diff)
downloadupstream-2686ccd16df677ae3f4250bc51c7c2fd7b6688d7.tar.gz
upstream-2686ccd16df677ae3f4250bc51c7c2fd7b6688d7.tar.bz2
upstream-2686ccd16df677ae3f4250bc51c7c2fd7b6688d7.zip
mac80211: update to wireless-testing 2011-06-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27275 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.patch11
1 files changed, 0 insertions, 11 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
deleted file mode 100644
index c21371fca0..0000000000
--- a/package/mac80211/patches/552-ath9k-fix-channel-frequency-calculation-for-AR9340.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
- u32 chan_frac;
-
- channelSel = (freq * 2) / 75;
-- chan_frac = ((freq % 75) * 0x20000) / 75;
-+ chan_frac = (((freq * 2) % 75) * 0x20000) / 75;
- channelSel = (channelSel << 17) | chan_frac;
- } else {
- channelSel = CHANSEL_5G(freq);