--- sdk/driver/ble/ble.c 2021-08-16 11:59:34.000000000 -0500 +++ ../sdk/driver/ble/ble.c 2023-07-12 06:15:17.728550439 -0500 @@ -237,7 +237,7 @@ { uint32_t fiq_status; - hal_machw_disable_int(); + //hal_machw_disable_int(); nxmac_tx_rx_int_ack_clear(0xffffffff); nxmac_gen_int_ack_clear(0xffffffff); fiq_status = sddev_control(ICU_DEV_NAME, CMD_GET_INTR_STATUS, 0); @@ -252,14 +252,14 @@ GLOBAL_INT_DECLARATION(); GLOBAL_INT_DISABLE(); - +#if 0 // wifi stack is not used so this should never be active if (txl_cntrl_pck_get() && ble_switch_skip_cnt < MAX_SKIP_CNT) { ble_switch_skip_cnt++; GLOBAL_INT_RESTORE(); return; } - +#endif if (ps_get_sleep_prevent() & 0x37) { GLOBAL_INT_RESTORE(); @@ -316,8 +316,8 @@ PS_WPRT("idle rec\r\n"); bk_printf("idle rec\r\n"); //long time wait idle interrupt,recover! - hal_machw_disable_int(); - rwnxl_reset_handle(0); + //hal_machw_disable_int(); + //rwnxl_reset_handle(0); PS_WPRT("idle rec over\r\n"); nxmac_next_state_setf(HW_IDLE); }