summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_3ad.h
diff options
context:
space:
mode:
authorHolger Eitzenberger <holger@eitzenberger.org>2008-12-26 13:26:54 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-26 13:26:54 -0800
commitf48127b6f3270cf7234a7a9f770533332e85e8ae (patch)
treeb92b215a91e0389fd1c48cae87dadb9e28e01bad /drivers/net/bonding/bond_3ad.h
parentd238d458a70ad134cb421c3ffc66242277f30dda (diff)
downloadop-kernel-dev-f48127b6f3270cf7234a7a9f770533332e85e8ae.zip
op-kernel-dev-f48127b6f3270cf7234a7a9f770533332e85e8ae.tar.gz
802.3ad: turn ports is_enabled into a bool
Turn ports is_enabled into a bool. There is no functional change. Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_3ad.h')
-rw-r--r--drivers/net/bonding/bond_3ad.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_3ad.h b/drivers/net/bonding/bond_3ad.h
index 1c97def..1f822a1 100644
--- a/drivers/net/bonding/bond_3ad.h
+++ b/drivers/net/bonding/bond_3ad.h
@@ -224,7 +224,8 @@ typedef struct port {
struct port_params partner_admin;
struct port_params partner_oper;
- u16 is_enabled; // BOOLEAN
+ bool is_enabled;
+
// ****** PRIVATE PARAMETERS ******
u16 sm_vars; // all state machines variables for this port
rx_states_t sm_rx_state; // state machine rx state
OpenPOWER on IntegriCloud