diff options
author | Michael Chan <mchan@broadcom.com> | 2011-06-08 23:29:35 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-09 10:52:37 +0400 |
commit | db1d350fcb156b58f66a67680617077bcacfe6fc (patch) | |
tree | 084d9254b62b05a4b7ce41606c6a7197a068a090 /drivers/hid/hid-roccat-common.h | |
parent | 11f23aa8ccd56786f0a6f04211cf59b3fab2ce08 (diff) | |
download | linux-db1d350fcb156b58f66a67680617077bcacfe6fc.tar.xz |
cnic: Improve NETDEV_UP event handling
During NETDEV_UP, we use symbol_get() to get the net driver's cnic
probe function. This sometimes doesn't work if NETDEV_UP happens
right after NETDEV_REGISTER and the net driver is still running module
init code. As a result, the cnic device may not be discovered. We
fix this by probing on all NETDEV events if the device's netif_running
state is up.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hid/hid-roccat-common.h')
0 files changed, 0 insertions, 0 deletions