|
@@ -1901,7 +1901,7 @@ static void qeth_bridgeport_an_set_cb(void *priv,
|
|
|
|
|
|
|
|
l2entry = (struct qdio_brinfo_entry_l2 *)entry;
|
|
l2entry = (struct qdio_brinfo_entry_l2 *)entry;
|
|
|
code = IPA_ADDR_CHANGE_CODE_MACADDR;
|
|
code = IPA_ADDR_CHANGE_CODE_MACADDR;
|
|
|
- if (l2entry->addr_lnid.lnid)
|
|
|
|
|
|
|
+ if (l2entry->addr_lnid.lnid < VLAN_N_VID)
|
|
|
code |= IPA_ADDR_CHANGE_CODE_VLANID;
|
|
code |= IPA_ADDR_CHANGE_CODE_VLANID;
|
|
|
qeth_bridge_emit_host_event(card, anev_reg_unreg, code,
|
|
qeth_bridge_emit_host_event(card, anev_reg_unreg, code,
|
|
|
(struct net_if_token *)&l2entry->nit,
|
|
(struct net_if_token *)&l2entry->nit,
|