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

Commit 54233261 authored by John W. Linville's avatar John W. Linville
Browse files

cfg80211: fix wext-compat for setting rate to 'auto'

parent 22e16e55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1214,7 +1214,7 @@ int cfg80211_wext_siwrate(struct net_device *dev,

	memset(&mask, 0, sizeof(mask));
	fixed = 0;
	maxrate = 0;
	maxrate = (u32)-1;

	if (rate->value < 0) {
		/* nothing */