From: nbd Date: Mon, 23 Mar 2009 00:05:52 +0000 (+0000) Subject: atheros: fix radio mask check on ar5312 X-Git-Tag: fast2504n-3.10.28-merged~16315 X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=e63e1f0ae5f1b83caec561c86be5cb6c3538c563;p=openwrt.git atheros: fix radio mask check on ar5312 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14986 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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); +