浏览代码

Disable host fragmentation in open mode since IPW2200/2915 hardware
support hardware fragmentation.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>

Zhu Yi 20 年之前
父节点
当前提交
e402c93741
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      drivers/net/wireless/ipw2200.c

+ 3 - 0
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");
 	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) ||
 	if ((priv->pci_dev->device == 0x4223) ||
 	    (priv->pci_dev->device == 0x4224)) {
 	    (priv->pci_dev->device == 0x4224)) {
 		if (init)
 		if (init)