From: Zhu Yi Date: Fri, 5 Aug 2005 09:20:40 +0000 (+0800) Subject: Disable host fragmentation in open mode since IPW2200/2915 hardware X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e402c9374112aaf1fc5796013dc3040ebb3954ca;p=linux-beck.git Disable host fragmentation in open mode since IPW2200/2915 hardware support hardware fragmentation. Signed-off-by: Zhu Yi --- diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 483993a4ca4b..f8dac52df93a 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -8069,6 +8069,9 @@ static int ipw_sw_reset(struct ipw_priv *priv, int init) } IPW_DEBUG_INFO("Hardware crypto [%s]\n", hwcrypto ? "on" : "off"); + /* IPW2200/2915 is abled to do hardware fragmentation. */ + priv->ieee->host_open_frag = 0; + if ((priv->pci_dev->device == 0x4223) || (priv->pci_dev->device == 0x4224)) { if (init)