Skip to content

Commit 37e43db

Browse files
committed
Reset config params in deinit
Only nRF70 is deinitialized then the config is no longer relevant. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
1 parent 524550c commit 37e43db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/radio_test_bm/src/nrf_wifi_radio_test_shell.c

+3
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ static int nrf_wifi_deinit(size_t argc, const char *argv[])
236236
return ret;
237237
}
238238

239+
memset(&ctx->conf_params, 0, sizeof(ctx->conf_params));
240+
ctx->rf_test_run = false;
241+
239242
printf("Deinitialized WiFi module\n");
240243

241244
return 0;

0 commit comments

Comments
 (0)