]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff31ba7a088521dcb4507d8a106b870ac7475447
tree67b932d14b92bb485de72942fbb7d2c6fe78d421
parent999e836d358d8e3a8b6cf381062505269d0caff8
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