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

Commit b808ab16 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by John W. Linville
Browse files

ieee80211_rate: missed unlock

parent 2ef19e63
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ int ieee80211_rate_control_register(struct rate_control_ops *ops)
		if (!strcmp(alg->ops->name, ops->name)) {
			/* don't register an algorithm twice */
			WARN_ON(1);
			mutex_unlock(&rate_ctrl_mutex);
			return -EALREADY;
		}
	}