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 d1d55b0 commit 1a05d8dCopy full SHA for 1a05d8d
drivers/net/wireless/marvell/mwifiex/main.h
@@ -1301,6 +1301,9 @@ mwifiex_get_priv_by_id(struct mwifiex_adapter *adapter,
1301
1302
for (i = 0; i < adapter->priv_num; i++) {
1303
if (adapter->priv[i]) {
1304
+ if (adapter->priv[i]->bss_mode == NL80211_IFTYPE_UNSPECIFIED)
1305
+ continue;
1306
+
1307
if ((adapter->priv[i]->bss_num == bss_num) &&
1308
(adapter->priv[i]->bss_type == bss_type))
1309
break;
0 commit comments