diff options
author | 2008-04-23 16:22:13 -0700 | |
---|---|---|
committer | 2008-04-23 21:25:36 -0400 | |
commit | 099714934d80100624829f1e2961b9dccaef3280 (patch) | |
tree | 50c8b78f62c0f1f5e27643896330f7627a0f8163 /net/unix/af_unix.c | |
parent | wireless: rndis_wlan: modparam_workaround_interval is never below 0. (diff) | |
download | wireguard-linux-099714934d80100624829f1e2961b9dccaef3280.tar.xz wireguard-linux-099714934d80100624829f1e2961b9dccaef3280.zip |
iwlwifi: Don't unlock priv->mutex if it isn't locked
Commit b716bb91 ("iwlwifi: Cancel scanning upon association") moved the
test of priv->vif in iwl{3945,4964}_mac_config_interface() outside of
where priv->mutex is held, but still tries to do mutex_unlock() on
return. This is clearly wrong and triggers a nasty lockdep warning when
this codepath is triggered. Fix this by removing the mutex_unlock().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions