We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f1063 commit 591454fCopy full SHA for 591454f
drivers/net/wireless/marvell/mwifiex/main.h
@@ -1315,6 +1315,9 @@ mwifiex_get_priv_by_id(struct mwifiex_adapter *adapter,
1315
1316
for (i = 0; i < adapter->priv_num; i++) {
1317
if (adapter->priv[i]) {
1318
+ if (adapter->priv[i]->bss_mode == NL80211_IFTYPE_UNSPECIFIED)
1319
+ continue;
1320
+
1321
if ((adapter->priv[i]->bss_num == bss_num) &&
1322
(adapter->priv[i]->bss_type == bss_type))
1323
break;
0 commit comments