Skip to content

Commit 9f3c914

Browse files
sachinthegreenkapbh
authored andcommitted
[nrf fromtree] drivers: nrf_wifi: Fix compilation issues for SoftAP mode.
Fix compilation issues for SoftAP mode which were missed in the mode specific code changes. Signed-off-by: Sachin D Kulkarni <[email protected]> (cherry picked from commit 5f69ab7)
1 parent 401f885 commit 9f3c914

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/wifi/nrf_wifi/src/wpa_supp_if.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,7 +1969,7 @@ static int nrf_wifi_vif_state_change(struct nrf_wifi_vif_ctx_zep *vif_ctx_zep,
19691969
unsigned int timeout = 0;
19701970
struct nrf_wifi_fmac_vif_ctx *vif_ctx = NULL;
19711971
enum nrf_wifi_status status = NRF_WIFI_STATUS_FAIL;
1972-
struct nrf_wifi_fmac_dev_ctx_def *def_dev_ctx = NULL;
1972+
struct nrf_wifi_sys_fmac_dev_ctx *sys_dev_ctx = NULL;
19731973
int ret = -1;
19741974

19751975
if (!vif_ctx_zep) {
@@ -1988,8 +1988,8 @@ static int nrf_wifi_vif_state_change(struct nrf_wifi_vif_ctx_zep *vif_ctx_zep,
19881988
goto out;
19891989
}
19901990

1991-
def_dev_ctx = wifi_dev_priv(rpu_ctx_zep->rpu_ctx);
1992-
vif_ctx = def_dev_ctx->vif_ctx[vif_ctx_zep->vif_idx];
1991+
sys_dev_ctx = wifi_dev_priv(rpu_ctx_zep->rpu_ctx);
1992+
vif_ctx = sys_dev_ctx->vif_ctx[vif_ctx_zep->vif_idx];
19931993

19941994
vif_state_info.state = state;
19951995
vif_state_info.if_index = vif_ctx_zep->vif_idx;

0 commit comments

Comments
 (0)