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)
commit514c485c01676927feb77c2a3e350bb3985fa11e
tree0fca6440a6c9faf83e83fb65de69039c2097905e
parent7dd1e720256ebd5628fb9e9193d95eacaeb42b27
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