From: Ravikumar Nelavelli Date: Tue, 11 Mar 2014 13:23:05 +0000 (+0530) Subject: be2net: log LPVID used in multi-channel configs X-Git-Tag: v4.14-rc1~7785^2~167 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdac85b55e57ca880147a4c6bd9f8af69507956a;p=platform%2Fkernel%2Flinux-rpi.git be2net: log LPVID used in multi-channel configs Signed-off-by: Ravikumar Nelavelli Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c index ff353d7..cf5afe7 100644 --- a/drivers/net/ethernet/emulex/benet/be_cmds.c +++ b/drivers/net/ethernet/emulex/benet/be_cmds.c @@ -244,10 +244,12 @@ static void be_async_grp5_qos_speed_process(struct be_adapter *adapter, static void be_async_grp5_pvid_state_process(struct be_adapter *adapter, struct be_async_event_grp5_pvid_state *evt) { - if (evt->enabled) + if (evt->enabled) { adapter->pvid = le16_to_cpu(evt->tag) & VLAN_VID_MASK; - else + dev_info(&adapter->pdev->dev, "LPVID: %d\n", adapter->pvid); + } else { adapter->pvid = 0; + } } static void be_async_grp5_evt_process(struct be_adapter *adapter,