mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7615: remove dead code in get_omac_idx
Remove always false if condition in get_omac_idx for sta type Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
78fc0dcdce
commit
05953e7d6f
@@ -141,9 +141,6 @@ static int get_omac_idx(enum nl80211_iftype type, u64 mask)
|
||||
if (i)
|
||||
return i - 1;
|
||||
|
||||
if (type != NL80211_IFTYPE_STATION)
|
||||
break;
|
||||
|
||||
/* next, try to find a free repeater entry for the sta */
|
||||
i = get_free_idx(mask >> REPEATER_BSSID_START, 0,
|
||||
REPEATER_BSSID_MAX - REPEATER_BSSID_START);
|
||||
|
||||
Reference in New Issue
Block a user