Skip to content

Commit 1182a26

Browse files
krish2718rlubos
authored andcommitted
nrf_wifi: Fix the regulatory wait flag
The flag should be reset before sending to avoid a tiny race b/w flag set and reading the flag. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 6053691 commit 1182a26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nrf_wifi/fw_if/umac_if/src/fmac_api_common.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@ enum nrf_wifi_status nrf_wifi_fmac_set_reg(struct nrf_wifi_fmac_dev_ctx *fmac_de
809809
set_reg_cmd->valid_fields |= NRF_WIFI_CMD_REQ_SET_REG_USER_REG_FORCE;
810810
}
811811

812+
fmac_dev_ctx->reg_set_status = false;
812813
status = umac_cmd_cfg(fmac_dev_ctx,
813814
set_reg_cmd,
814815
sizeof(*set_reg_cmd));

0 commit comments

Comments
 (0)