]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723au: Fix case where ethtype was never obtained and always be checked...
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Apr 2014 21:21:21 +0000 (23:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 15:29:23 +0000 (08:29 -0700)
commit435910fc50e2fd28c9bf2d3dfb2101796e39a3e0
tree0fca6440a6c9faf83e83fb65de69039c2097905e
parentd65f41cdc1cb464137d731297ddc544a63a71cb6
staging: rtl8723au: Fix case where ethtype was never obtained and always be checked against 0

Zero-initializing ether_type masked that the ether type would never be
obtained for 8021x packets and the comparition against eapol_type
would always fail.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_recv.c