qlge: Do not change frame routing during suspend.
authorRon Mercer <ron.mercer@qlogic.com>
Wed, 11 Nov 2009 12:54:03 +0000 (12:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Nov 2009 03:12:05 +0000 (19:12 -0800)
We do not need to change the frame routing to direct all frames to the
management fifo during suspend.  This is now done by the firmware.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c

index bd8e164..2bfa783 100644 (file)
@@ -3514,9 +3514,6 @@ int ql_wol(struct ql_adapter *qdev)
        }
 
        if (qdev->wol) {
-               /* Reroute all packets to Management Interface */
-               ql_write32(qdev, MGMT_RCV_CFG, (MGMT_RCV_CFG_RM |
-                       (MGMT_RCV_CFG_RM << 16)));
                wol |= MB_WOL_MODE_ON;
                status = ql_mb_wol_mode(qdev, wol);
                QPRINTK(qdev, DRV, ERR, "WOL %s (wol code 0x%x) on %s\n",