diff options
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 6508e0b2ea72..3eebfe287533 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -1280,8 +1280,9 @@ int bond_enslave(struct net_device *bond_dev, struct net_device *slave_dev) | |||
1280 | 1280 | ||
1281 | /* bond must be initialized by bond_open() before enslaving */ | 1281 | /* bond must be initialized by bond_open() before enslaving */ |
1282 | if (!(bond_dev->flags & IFF_UP)) { | 1282 | if (!(bond_dev->flags & IFF_UP)) { |
1283 | dprintk("Error, master_dev is not up\n"); | 1283 | printk(KERN_WARNING DRV_NAME |
1284 | return -EPERM; | 1284 | " %s: master_dev is not up in bond_enslave\n", |
1285 | bond_dev->name); | ||
1285 | } | 1286 | } |
1286 | 1287 | ||
1287 | /* already enslaved */ | 1288 | /* already enslaved */ |