diff --git a/src/p80211/p80211conv.c b/src/p80211/p80211conv.c index af96623..fc52432 100644 --- a/src/p80211/p80211conv.c +++ b/src/p80211/p80211conv.c @@ -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);