libertas: get the right # of scanned BSSes
authorDan Williams <dcbw@redhat.com>
Fri, 30 Jul 2010 06:11:30 +0000 (23:11 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Aug 2010 20:03:40 +0000 (16:03 -0400)
commitaebb628f39ccf67fe9ed888c7f80926fc1070ce5
tree7857d5b2c207acf31064f61e498279615120e618
parentc0068c85897f06205d4c35cf4bf9161be90690e9
libertas: get the right # of scanned BSSes

Let's actually check the right field in the command response; and
if there aren't any reported BSSes, exit early with success.

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