libertas: fix return value when processing invalid packet
authorDan Williams <dcbw@redhat.com>
Thu, 22 May 2014 12:32:41 +0000 (07:32 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2014 18:04:36 +0000 (14:04 -0400)
commitd2ed2703cabd1e41fd98eefaeeb77a110fbcc493
tree67b932d14b92bb485de72942fbb7d2c6fe78d421
parent2ad69ac5976191e9bb7dc4044204a504653ad1bb
libertas: fix return value when processing invalid packet

Nothing actually uses the return value yet, but we might as well
make it correct, like process_rxed_802_11_packet() does for the
same case.  Also ensure that if monitor mode is enabled (and
thus process_rxed_802_11_packet() is called) that the debugging
enter/leave functions are balanced.

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