libertas: release bss references and avoid warning from cfg80211_inform_bss
authorJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 18:49:45 +0000 (13:49 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 11 Nov 2011 19:28:49 +0000 (14:28 -0500)
commit731f8e1c41a4d0ffb589e2395f931f8a1aa6c6a4
tree138618901ae2defc515d72cd1919b238302adc75
parent6d377cdbe3d35d67468fcfe7473fc3f0f74fa647
libertas: release bss references and avoid warning from cfg80211_inform_bss

  CC [M]  drivers/net/wireless/libertas/cfg.o
drivers/net/wireless/libertas/cfg.c: In function ‘lbs_ret_scan’:
drivers/net/wireless/libertas/cfg.c:636:24: warning: ignoring return value of ‘cfg80211_inform_bss’, declared with attribute warn_unused_result
drivers/net/wireless/libertas/cfg.c: In function ‘lbs_join_post’:
drivers/net/wireless/libertas/cfg.c:1766:21: warning: ignoring return value of ‘cfg80211_inform_bss’, declared with attribute warn_unused_result

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cfg.c