enic: Bug Fix: Fix return values of enic_add/del_station_addr routines
authorVasanthy Kolluri <vkolluri@cisco.com>
Fri, 4 Feb 2011 16:17:10 +0000 (16:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Feb 2011 19:49:03 +0000 (11:49 -0800)
commit115d56f723c45088ddf46fac1ebba7c333039150
treef2ebd0b484fcc8b9ce69035bab42c9b2f0782767
parent519874619f642afaf61530b0f4df3cd1e9a319e4
enic: Bug Fix: Fix return values of enic_add/del_station_addr routines

Fix enic_add/del_station_addr routines to return appropriate error code when an invalid address is added or deleted.

Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/enic/enic.h
drivers/net/enic/enic_dev.c