Skip to content

Commit

Permalink
drivers: wifi: handle the WLAN_REASON_FW_HANG event
Browse files Browse the repository at this point in the history
Handle the WLAN_REASON_FW_HANG event from Wi-Fi driver.

Signed-off-by: Maochen Wang <[email protected]>
  • Loading branch information
MaochenWang1 committed Dec 12, 2024
1 parent 22ee38a commit cfd14df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/wifi/nxp/nxp_wifi_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,10 @@ int nxp_wifi_wlan_event_callback(enum wlan_event_reason reason, void *data)
case WLAN_REASON_PRE_BEACON_LOST:
break;
#endif
case WLAN_REASON_FW_HANG:
case WLAN_REASON_FW_RESET:
LOG_DBG("WLAN: FW hang");
break;
default:
LOG_WRN("WLAN: Unknown Event: %d", reason);
}
Expand Down

0 comments on commit cfd14df

Please sign in to comment.