Skip to content

Commit

Permalink
nrf_wifi: Fix VIF type count update
Browse files Browse the repository at this point in the history
In current SAP implementation based on a single VIF, we modify the VIF
type from STA->AP and vice-versa, so, call the API to update the counts
properly.

The counts are crucial to remove the RPU during interface down.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed May 30, 2024
1 parent d8b5f6f commit d28b464
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nrf_wifi/fw_if/umac_if/src/default/fmac_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -2207,6 +2207,10 @@ enum nrf_wifi_status nrf_wifi_fmac_chg_vif(void *dev_ctx,

def_dev_ctx = wifi_dev_priv(fmac_dev_ctx);

nrf_wifi_fmac_vif_update_if_type(fmac_dev_ctx,
if_idx,
vif_info->iftype);

def_dev_ctx->vif_ctx[if_idx]->if_type = vif_info->iftype;
}

Expand Down

0 comments on commit d28b464

Please sign in to comment.