staging: wlan-ng: Release struct returned by cfg80211_inform_bss to avoid potential...
authorKrzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Tue, 24 Apr 2012 14:00:34 +0000 (15:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:28:25 +0000 (11:28 -0700)
Function cfg80211_inform_bss returns a pointer to a referenced struct cfg80211_bss
but no information is needed from this struct in function prism2_scan and therefore
we release it by calling cfg80211_put_bss.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found