bridge: cfm: fix enum typo in br_cc_ccm_tx_parse
[linux-2.6-microblaze.git] / net / bridge / br_cfm_netlink.c
index 5c4c369..2faab44 100644 (file)
@@ -362,7 +362,7 @@ static int br_cc_ccm_tx_parse(struct net_bridge *br, struct nlattr *attr,
 
        memset(&tx_info, 0, sizeof(tx_info));
 
-       instance = nla_get_u32(tb[IFLA_BRIDGE_CFM_CC_RDI_INSTANCE]);
+       instance = nla_get_u32(tb[IFLA_BRIDGE_CFM_CC_CCM_TX_INSTANCE]);
        nla_memcpy(&tx_info.dmac.addr,
                   tb[IFLA_BRIDGE_CFM_CC_CCM_TX_DMAC],
                   sizeof(tx_info.dmac.addr));