mwifiex: release bss structure returned by cfg80211_inform_bss()
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 8 Nov 2011 05:41:12 +0000 (21:41 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 17:32:48 +0000 (12:32 -0500)
commitaa95a48d46328f35403f3b03e0cafb3c5883aaba
tree511dced4d673a8180be97bb776255495776ea90a
parentf72fa45f7d3e3ec627b62fed2e3451f5a597914d
mwifiex: release bss structure returned by cfg80211_inform_bss()

Following compilation warning is fixed by releasing referenced BSS
structure returned by cfg80211_inform_bss().

"warning: ignoring return value of cfg80211_inform_bss,
declared with attribute warn_unused_result"

Cc: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/scan.c