From: Krzysztof Wilczynski Date: Tue, 24 Apr 2012 14:00:34 +0000 (+0100) Subject: staging: wlan-ng: Release struct returned by cfg80211_inform_bss to avoid potential... X-Git-Tag: v3.5-rc1~145^2~229^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19f798ad009a1c9aebe6c248173e4a7ec694c680;p=pandora-kernel.git staging: wlan-ng: Release struct returned by cfg80211_inform_bss to avoid potential memory leak. 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed