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 8047b4a commit e536a10Copy full SHA for e536a10
drivers/net/wireless/marvell/mwifiex/main.h
@@ -1307,6 +1307,9 @@ mwifiex_get_priv_by_id(struct mwifiex_adapter *adapter,
1307
1308
for (i = 0; i < adapter->priv_num; i++) {
1309
if (adapter->priv[i]) {
1310
+ if (adapter->priv[i]->bss_mode == NL80211_IFTYPE_UNSPECIFIED)
1311
+ continue;
1312
+
1313
if ((adapter->priv[i]->bss_num == bss_num) &&
1314
(adapter->priv[i]->bss_type == bss_type))
1315
break;
0 commit comments