cnic: Fix NETDEV_UP event processing.
authorMichael Chan <mchan@broadcom.com>
Fri, 2 Oct 2009 18:03:28 +0000 (11:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2009 18:03:28 +0000 (11:03 -0700)
commit6053bbf7bbdbb2c94547f830ad07636c17d7024e
treea72a2f61c86e65e2dcd076433c130ebc67384fed
parentcc44578b5a508889beb8ae3ccd4d2bbdf17bc86c
cnic: Fix NETDEV_UP event processing.

This fixes the problem of not handling the NETDEV_UP event properly
during hot-plug or modprobe of bnx2 after cnic.  The handling was
skipped by mistakenly using "else if" to check for the event.

Also update version to 2.0.1.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cnic.c
drivers/net/cnic_if.h