bna: Clear Driver Config Flags When HW Resets
authorRasesh Mody <rmody@brocade.com>
Mon, 20 May 2013 10:08:01 +0000 (10:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 May 2013 21:07:59 +0000 (14:07 -0700)
commit4b2305826ccd57a8b22d3daff543837ba27cfd43
tree043aa260bb16d60d03eca26c2daefe6917f1ab6a
parent0b8bf1baabe56f721d541953f083560d0660d78f
bna: Clear Driver Config Flags When HW Resets

Driver configuration flags are retained across open/stop operations preventing
configurations to be set in next open/stop. Setting MTU on a 1020 causes
network to fail until a reboot is performed on the host.

Clear the flags when configuration resets in hardware.

Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c