cfg80211: fix refcount imbalance when wext is disabled
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 11 Jan 2010 15:14:57 +0000 (16:14 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 00:37:09 +0000 (19:37 -0500)
When CONFIG_CFG80211_WEXT is not set, there is
a refcount imbalance with rdev->opencount, fix
that by moving it out of the ifdef.

Reported-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found