[PATCH] ipw2100: Fix dropping fragmented small packet problem
authorZhu Yi <yi.zhu@intel.com>
Wed, 20 Dec 2006 08:11:58 +0000 (16:11 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jan 2007 01:56:26 +0000 (20:56 -0500)
commitfe5f8e2a1c5c040209c598a28e19c55f30e1040d
treed8518e8e32f19144083ca3bcb2dfda25601aa5d9
parent3eb546057dd65ec75c900c9948684ffd5e617630
[PATCH] ipw2100: Fix dropping fragmented small packet problem

The rx_data.header struct is ieee80211_hdr_4addr. If a wireless frame uses
ieee80211_hdr_3addr header and is less than 6 bytes, it will be discarded.
This is not likely going to happen for normal packets (since there is TCP, IP
headers). But if fragmentation is used, there will be such small trailing
packets. And they will be lost for ever.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ipw2100.c