aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-23 00:05:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-23 00:05:52 +0000
commit1799a11d22b56f20659aad9f1b27b08bee0620c5 (patch)
treec6c68bf1c4eed0adb4370096662be9edfa5483b8 /target
parent980e4f7b0e9e379804abf446c524b0e21cbcbb05 (diff)
downloadupstream-1799a11d22b56f20659aad9f1b27b08bee0620c5.tar.gz
upstream-1799a11d22b56f20659aad9f1b27b08bee0620c5.tar.bz2
upstream-1799a11d22b56f20659aad9f1b27b08bee0620c5.zip
atheros: fix radio mask check on ar5312
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14986 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/atheros/patches-2.6.28/100-board.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-2.6.28/100-board.patch b/target/linux/atheros/patches-2.6.28/100-board.patch
index 6f27d1ace8..38ac2ad173 100644
--- a/target/linux/atheros/patches-2.6.28/100-board.patch
+++ b/target/linux/atheros/patches-2.6.28/100-board.patch
@@ -1924,7 +1924,7 @@
+ if (!ar231x_board.radio)
+ return 0;
+
-+ if (*((u32 *) ar231x_board.radio) & AR531X_RADIO0_MASK)
++ if (*((u32 *) radio) & AR531X_RADIO0_MASK)
+ ar231x_add_wmac(0, AR531X_WLAN0,
+ AR5312_IRQ_WLAN0_INTRS);
+
@@ -1948,7 +1948,7 @@
+ break;
+ }
+
-+ if (*((u32 *) ar231x_board.radio) & AR531X_RADIO1_MASK)
++ if (*((u32 *) radio) & AR531X_RADIO1_MASK)
+ ar231x_add_wmac(1, AR531X_WLAN1,
+ AR5312_IRQ_WLAN1_INTRS);
+