diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-23 00:05:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-23 00:05:52 +0000 |
commit | 9e5fecf9847ca4a184466bcf02e36e97f38d2409 (patch) | |
tree | 0afc16d8517ef04b5a0ba556967ba804aadc96e2 /target/linux/atheros/patches-2.6.28 | |
parent | 56ddbfff1e801c9f2e439116ed548a8b17a7302b (diff) | |
download | upstream-9e5fecf9847ca4a184466bcf02e36e97f38d2409.tar.gz upstream-9e5fecf9847ca4a184466bcf02e36e97f38d2409.tar.bz2 upstream-9e5fecf9847ca4a184466bcf02e36e97f38d2409.zip |
atheros: fix radio mask check on ar5312
SVN-Revision: 14986
Diffstat (limited to 'target/linux/atheros/patches-2.6.28')
-rw-r--r-- | target/linux/atheros/patches-2.6.28/100-board.patch | 4 |
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); + |