]> err.no Git - linux-2.6/commit
[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)
commita4d73ee168eeaed3baea86542ad42e1fd7e192d3
treec00fcd6915a2d92ecd15589566bbeb2d908ae87a
parentb86e0280bb5585a610783ff5392d9d439dee7ddd
[WIRELESS] cfg80211: Fix locking in wiphy_new.

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>
net/wireless/core.c