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

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

Merge "cfg80211: ignore supported rates for nonexistant bands on scan"

parents 74949f2f 3c3bce22
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5339,6 +5339,10 @@ static int nl80211_trigger_scan(struct sk_buff *skb, struct genl_info *info)
				err = -EINVAL;
				goto out_free;
			}

			if (!wiphy->bands[band])
				continue;

			err = ieee80211_get_ratemask(wiphy->bands[band],
						     nla_data(attr),
						     nla_len(attr),