[WIRELESS] cfg80211: Fix locking in wiphy_new.
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 27 Apr 2007 03:50:35 +0000 (20:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2007 03:50:35 +0000 (20:50 -0700)
This patch fixes the locking in wiphy new. Ingo Oeser
<netdev@axxeo.de> noticed that locking in the error case was wrong and
also suggested this fix.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found