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 d2601e3 commit c145eeaCopy full SHA for c145eea
drivers/net/wireless/marvell/mwifiex/main.h
@@ -1287,6 +1287,9 @@ mwifiex_get_priv_by_id(struct mwifiex_adapter *adapter,
1287
1288
for (i = 0; i < adapter->priv_num; i++) {
1289
if (adapter->priv[i]) {
1290
+ if (adapter->priv[i]->bss_mode == NL80211_IFTYPE_UNSPECIFIED)
1291
+ continue;
1292
+
1293
if ((adapter->priv[i]->bss_num == bss_num) &&
1294
(adapter->priv[i]->bss_type == bss_type))
1295
break;
0 commit comments