aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/benet/be_cmds.c')
-rw-r--r--drivers/net/benet/be_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c
index 0fc06d363806..5fedc27c8839 100644
--- a/drivers/net/benet/be_cmds.c
+++ b/drivers/net/benet/be_cmds.c
@@ -133,7 +133,7 @@ static void be_async_grp5_pvid_state_process(struct be_adapter *adapter,
133 struct be_async_event_grp5_pvid_state *evt) 133 struct be_async_event_grp5_pvid_state *evt)
134{ 134{
135 if (evt->enabled) 135 if (evt->enabled)
136 adapter->pvid = evt->tag; 136 adapter->pvid = le16_to_cpu(evt->tag);
137 else 137 else
138 adapter->pvid = 0; 138 adapter->pvid = 0;
139} 139}