Index: ar5212.c =================================================================== --- ar5212.c (revision 1945) +++ ar5212.c (revision 1948) @@ -822,15 +822,16 @@ /* * Set RF kill flags if supported by the device (read from the EEPROM) + * Disable gpio_intr for now since it results system hang. */ - if (AR5K_EEPROM_HDR_RFKILL(hal->ah_capabilities.cap_eeprom.ee_header)) { +/* if (AR5K_EEPROM_HDR_RFKILL(hal->ah_capabilities.cap_eeprom.ee_header)) { ar5k_ar5212_set_gpio_input(hal, 0); if ((hal->ah_gpio[0] = ar5k_ar5212_get_gpio(hal, 0)) == 0) ar5k_ar5212_set_gpio_intr(hal, 0, 1); else ar5k_ar5212_set_gpio_intr(hal, 0, 0); } - +*/ /* * Set the 32MHz reference clock */ @@ -2885,6 +2886,9 @@ if (data & (AR5K_AR5212_PISR_HIUERR)) *interrupt_mask |= HAL_INT_FATAL; + if (data & (AR5K_AR5212_PISR_BNR)) + *interrupt_mask |= HAL_INT_BNR; + /* * Special interrupt handling (not caught by the driver) */ Index: ah_osdep.c =================================================================== --- ah_osdep.c (revision 1945) +++ ah_osdep.c (revision 1948) @@ -58,7 +58,7 @@ static int __init init_ath_hal(void) { - printk(KERN_INFO "%s: driver loaded\n", dev_info); + printk(KERN_INFO "%s: OpenHAL loaded (AR5210, AR5211, AR5212)\n", dev_info); return (0); } module_init(init_ath_hal);