Skip to content

Commit

Permalink
ieee80211_rate: missed unlock
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Cyrill Gorcunov authored and John W. Linville committed Dec 17, 2007
1 parent 2ef19e6 commit b808ab1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/mac80211/ieee80211_rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit b808ab1

Please sign in to comment.