atheros: fix radio mask check on ar5312

SVN-Revision: 14986
master
Felix Fietkau 16 years ago
parent 56ddbfff1e
commit 9e5fecf984
  1. 4
      target/linux/atheros/patches-2.6.28/100-board.patch

@ -1924,7 +1924,7 @@
+ if (!ar231x_board.radio) + if (!ar231x_board.radio)
+ return 0; + return 0;
+ +
+ if (*((u32 *) ar231x_board.radio) & AR531X_RADIO0_MASK) + if (*((u32 *) radio) & AR531X_RADIO0_MASK)
+ ar231x_add_wmac(0, AR531X_WLAN0, + ar231x_add_wmac(0, AR531X_WLAN0,
+ AR5312_IRQ_WLAN0_INTRS); + AR5312_IRQ_WLAN0_INTRS);
+ +
@ -1948,7 +1948,7 @@
+ break; + break;
+ } + }
+ +
+ if (*((u32 *) ar231x_board.radio) & AR531X_RADIO1_MASK) + if (*((u32 *) radio) & AR531X_RADIO1_MASK)
+ ar231x_add_wmac(1, AR531X_WLAN1, + ar231x_add_wmac(1, AR531X_WLAN1,
+ AR5312_IRQ_WLAN1_INTRS); + AR5312_IRQ_WLAN1_INTRS);
+ +

Loading…
Cancel
Save