diff options
author | Stefan Raspl <raspl@linux.vnet.ibm.com> | 2013-03-18 16:04:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-19 10:09:40 -0400 |
commit | 82f77cf9704cd06c452019421e5aada3a0648c76 (patch) | |
tree | c4aacc14fd31071c2cbdb5acd8be452d176a97d8 /drivers/s390 | |
parent | 0d4f0608619de59fd8169dd8e72aadc28d80e715 (diff) |
qeth: delay feature trace
Delay tracing of the card features until the optional commands have been
enabled.
Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index 091ca0efa1c5..4eb7ea3fc1c3 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c | |||
@@ -3348,7 +3348,6 @@ static int __qeth_l3_set_online(struct ccwgroup_device *gdev, int recovery_mode) | |||
3348 | rc = -ENODEV; | 3348 | rc = -ENODEV; |
3349 | goto out_remove; | 3349 | goto out_remove; |
3350 | } | 3350 | } |
3351 | qeth_trace_features(card); | ||
3352 | 3351 | ||
3353 | if (!card->dev && qeth_l3_setup_netdev(card)) { | 3352 | if (!card->dev && qeth_l3_setup_netdev(card)) { |
3354 | rc = -ENODEV; | 3353 | rc = -ENODEV; |
@@ -3425,6 +3424,7 @@ contin: | |||
3425 | qeth_l3_set_multicast_list(card->dev); | 3424 | qeth_l3_set_multicast_list(card->dev); |
3426 | rtnl_unlock(); | 3425 | rtnl_unlock(); |
3427 | } | 3426 | } |
3427 | qeth_trace_features(card); | ||
3428 | /* let user_space know that device is online */ | 3428 | /* let user_space know that device is online */ |
3429 | kobject_uevent(&gdev->dev.kobj, KOBJ_CHANGE); | 3429 | kobject_uevent(&gdev->dev.kobj, KOBJ_CHANGE); |
3430 | mutex_unlock(&card->conf_mutex); | 3430 | mutex_unlock(&card->conf_mutex); |