Changed backward check for DIXII versus 802.3 encoding in ether_to_p80211().
This commit is contained in:
parent
5bddc8a1c5
commit
f59c207eef
|
@ -144,7 +144,7 @@ int p80211pb_ether_to_p80211( wlandevice_t *wlandev, UINT32 ethconv, wlan_pb_t *
|
|||
} else {
|
||||
/* step 1: classify ether frame, DIX or 802.3? */
|
||||
proto = ntohs(pb->eth_hdr->type);
|
||||
if ( proto <= 0x05DC ) { /* type|len <= 1500 ? */
|
||||
if ( proto > 0x05DC ) { /* type|len <= 1500 ? */
|
||||
/* it's 802.3, pass ether payload unchanged, */
|
||||
/* leave off any PAD octets. */
|
||||
pb->p80211hostbuf = kmalloc( WLAN_HDR_A3_LEN, GFP_ATOMIC);
|
||||
|
|
Loading…
Reference in a new issue