brcm80211: fmac: release bss struct returned from cfg80211_inform_bss
authorFranky Lin <frankyl@broadcom.com>
Thu, 10 Nov 2011 19:30:34 +0000 (20:30 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 19:28:47 +0000 (14:28 -0500)
commite78946e198b9cf2656dceb5ea2c21759f469a125
tree5b5cbeb6e8feb3fc6ec75e6a44519374e33d56fe
parent99b72cde632b67603f4c7f18e8ff23a57b484478
brcm80211: fmac: release bss struct returned from cfg80211_inform_bss

Referenced struct returned by cfg80211_inform_bss must be released with
cfg80211_put_bss to avoid memory leak.

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c