diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c index 395ca528ab26..5c4c44dd9a7a 100644 --- a/core/wma/src/wma_dev_if.c +++ b/core/wma/src/wma_dev_if.c @@ -5520,6 +5520,7 @@ static void wma_add_sta_req_sta_mode(tp_wma_handle wma, tpAddStaParams params) if (iface->staKeyParams) { wma_set_stakey(wma, (tpSetStaKeyParams) iface->staKeyParams); + iface->staKeyParams = NULL; } } maxTxPower = params->maxTxPower;