]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
qlge: Restore rx mode after internal reset.
authorRon Mercer <ron.mercer@qlogic.com>
Thu, 8 Oct 2009 09:54:42 +0000 (09:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2009 05:54:52 +0000 (22:54 -0700)
Call set_multi API after reset recovery.  This was exposed by tripping
tx_timeout.

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 fe13006b42490d784a2df86b867baccec1f2b58d..48b45df85ec925c0feb479d3ba23862f49cc5ed3 100644 (file)
@@ -3751,6 +3751,12 @@ static void ql_asic_reset_work(struct work_struct *work)
        status = ql_adapter_up(qdev);
        if (status)
                goto error;
+
+       /* Restore rx mode. */
+       clear_bit(QL_ALLMULTI, &qdev->flags);
+       clear_bit(QL_PROMISCUOUS, &qdev->flags);
+       qlge_set_multicast_list(qdev->ndev);
+
        rtnl_unlock();
        return;
 error: