Commit ebfb095f authored by Javier Achirica's avatar Javier Achirica Committed by Jeff Garzik

[wireless airo] Checks for small packets before transmitting them.

parent 6eb1f379
......@@ -2748,7 +2748,7 @@ static int transmit_802_3_packet(struct airo_info *ai, int len, char *pPacket)
len >>= 16;
if (len < ETH_ALEN * 2) {
if (len <= ETH_ALEN * 2) {
printk( KERN_WARNING "Short packet %d\n", len );
return ERROR;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment