cfg80211: fix refcount leak
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 2 Jul 2009 13:46:41 +0000 (15:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Jul 2009 16:55:28 +0000 (12:55 -0400)
commit2dce4c2b5f0b43bd25bf9ea6ded06b7f8a54c91f
treef9ded076fd61f5bd4ce93c995a4c9ab0dbf60742
parent76d8b64e536362e16e38ee1c279c965ebfe094cc
cfg80211: fix refcount leak

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>
Cc: stable@kernel.org [2.6.29, 2.6.30]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/scan.c