Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2fb4ab87 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cfg80211: fix beacon interval in interface combination iteration"

parents 7193fef2 54afc799
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1600,10 +1600,8 @@ int cfg80211_iter_combinations(struct wiphy *wiphy,

		if (params->beacon_int_gcd) {
			if (c->beacon_int_min_gcd &&
			    params->beacon_int_gcd < c->beacon_int_min_gcd) {
				kfree(limits);
				return -EINVAL;
			}
			    params->beacon_int_gcd < c->beacon_int_min_gcd)
				goto cont;
			if (!c->beacon_int_min_gcd &&
			    params->beacon_int_different)
				goto cont;