mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ieee80211_rate: missed unlock
Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
2ef19e63e6
commit
b808ab16a9
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue