cfg80211: fix refcount leak
commit5c8affc6e16f6bad03b5c23d25b2c774b817160a
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 2 Jul 2009 13:46:41 +0000 (2 15:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 21:39:09 +0000 (30 14:39 -0700)
tree021a1498bb42f8db13270721caf1c6e44ebdff49
parentdf42c57d32622dca010595fe13c86c93a7fc68ea
cfg80211: fix refcount leak

commit 2dce4c2b5f0b43bd25bf9ea6ded06b7f8a54c91f upstream.

The code in cfg80211's cfg80211_bss_update erroneously
grabs a reference to the BSS, which means that it will
never be freed.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/wireless/scan.c