projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ddbff
)
atheros: fix radio mask check on ar5312
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 23 Mar 2009 00:05:52 +0000
(
00:05
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 23 Mar 2009 00:05:52 +0000
(
00:05
+0000)
SVN-Revision: 14986
target/linux/atheros/patches-2.6.28/100-board.patch
patch
|
blob
|
history
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 6f27d1ace81e39f4c361380eb24de4257a640778..38ac2ad173c70f9aaa16a46f358f69a1ae8ac41c 100644
(file)
--- 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);
+