[PATCH] ieee80211softmac: Fix mutex_lock at exit of ieee80211_softmac_get_genie
[pandora-kernel.git] / net / ieee80211 / softmac / ieee80211softmac_wx.c
index 480d72c..fa2f7da 100644 (file)
@@ -463,7 +463,7 @@ ieee80211softmac_wx_get_genie(struct net_device *dev,
                        err = -E2BIG;
        }
        spin_unlock_irqrestore(&mac->lock, flags);
-       mutex_lock(&mac->associnfo.mutex);
+       mutex_unlock(&mac->associnfo.mutex);
 
        return err;
 }