From: Dan Carpenter
...
- if (auth_alg == 2) {
+ if (auth_alg == dot11AuthAlgrthm_8021X) {
+ /* get ether_type */
+ ptr = ptr + pfhdr-attrib.hdrlen + LLC_HEADER_SIZE;
+ memcpy(ether_type, ptr, 2);
+ ether_type = ntohs((unsigned
On 04/09/2014 08:12 PM, Larry Finger wrote:
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.
Reported-by: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Larry Finger