Disable host fragmentation in open mode since IPW2200/2915 hardware
authorZhu Yi <yi.zhu@intel.com>
Fri, 5 Aug 2005 09:20:40 +0000 (17:20 +0800)
committerJames Ketrenos <jketreno@linux.intel.com>
Mon, 7 Nov 2005 23:50:37 +0000 (17:50 -0600)
support hardware fragmentation.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
drivers/net/wireless/ipw2200.c

index 483993a..f8dac52 100644 (file)
@@ -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)