atheros: fix radio mask check on ar5312
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Mar 2009 00:05:52 +0000 (00:05 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 23 Mar 2009 00:05:52 +0000 (00:05 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14986 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/atheros/patches-2.6.28/100-board.patch

index 6f27d1a..38ac2ad 100644 (file)
 +              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);
 +
 +              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);
 +
This page took 0.042848 seconds and 4 git commands to generate.