Skip to content

Commit 06c8306

Browse files
committed
modules: hostap: Fix reason code status
Do not translate the FW reason code, send as is to the application for logging detailed reasons for disconnection. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 40721e8 commit 06c8306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hostap/src/supp_events.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ int send_wifi_mgmt_conn_event(void *ctx, int status_code)
218218
int send_wifi_mgmt_disc_event(void *ctx, int reason_code)
219219
{
220220
struct wpa_supplicant *wpa_s = ctx;
221-
int status = wpas_to_wifi_mgmt_diconn_status(reason_code);
221+
int status = reason_code;
222222
enum net_event_wifi_cmd event;
223223

224224
if (!wpa_s || !wpa_s->current_ssid) {

0 commit comments

Comments
 (0)