Revert "wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()"
This reverts commit 1129f7beb1
.
This commit is contained in:
parent
93a14d2549
commit
8cac0e6819
1 changed files with 0 additions and 3 deletions
|
@ -1310,9 +1310,6 @@ mwifiex_get_priv_by_id(struct mwifiex_adapter *adapter,
|
|||
|
||||
for (i = 0; i < adapter->priv_num; i++) {
|
||||
if (adapter->priv[i]) {
|
||||
if (adapter->priv[i]->bss_mode == NL80211_IFTYPE_UNSPECIFIED)
|
||||
continue;
|
||||
|
||||
if ((adapter->priv[i]->bss_num == bss_num) &&
|
||||
(adapter->priv[i]->bss_type == bss_type))
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue