netxen: fix link notification order
authorFlavio Leitner <fbl@redhat.com>
Wed, 11 Jul 2012 08:56:55 +0000 (08:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2012 14:54:46 +0000 (07:54 -0700)
commitfa919833e354b2e62b3c7d26920d1685ddc81eb2
tree831084242b096cf9f17df72f43f6b09f18811148
parent33c34c5e9310622d5ed9a53d571f92824044020f
netxen: fix link notification order

First update the adapter variables with the current speed and
mode before fire the notification. Otherwise, the get_settings()
may provide old values.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Acked-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c