]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23cc92c5f423b4d96609d3b9dbf01c9ea5f07bcd
treeb784444a3f86577b41cb30723f2aebd8dfc2eb0b
parente21eef1140a6183d481b0488b4c9a462dff03e63
cfg80211: fix refcount imbalance when wext is disabled

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