Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fw_if/umac_if/src/system/fmac_vif.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ int nrf_wifi_fmac_vif_check_if_limit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,
switch (if_type) {
case NRF_WIFI_IFTYPE_STATION:
case NRF_WIFI_IFTYPE_P2P_CLIENT:
if (sys_dev_ctx->num_sta >= MAX_NUM_STAS) {
if (sys_dev_ctx->num_sta > MAX_NUM_STAS) {
nrf_wifi_osal_log_err("%s: Maximum STA Interface type exceeded",
__func__);
return -1;
}
break;
case NRF_WIFI_IFTYPE_AP:
case NRF_WIFI_IFTYPE_P2P_GO:
if (sys_dev_ctx->num_ap >= MAX_NUM_APS) {
if (sys_dev_ctx->num_ap > MAX_NUM_APS) {
nrf_wifi_osal_log_err("%s: Maximum AP Interface type exceeded",
__func__);
return -1;
Expand Down