{
struct hal_com_data *haldata;
__le32 himr;
- u32 tmp;
haldata = GET_HAL_DATA(adapter);
himr = cpu_to_le32(haldata->sdio_himr);
sdio_local_write(adapter, SDIO_REG_HIMR, 4, (u8 *)&himr);
- /* Update current system IMR settings */
- tmp = rtw_read32(adapter, REG_HSIMR);
- rtw_write32(adapter, REG_HSIMR, tmp);
-
/* */
/* <Roger_Notes> There are some C2H CMDs have been sent before system interrupt is enabled, e.g., C2H, CPWM. */
/* So we need to clear all C2H events that FW has notified, otherwise FW won't schedule any commands anymore. */