From: Ajit Khaparde Date: Fri, 11 Feb 2011 13:37:25 +0000 (+0000) Subject: be2net: Fix broken priority setting when vlan tagging is enabled. X-Git-Tag: v2.6.39-rc1~468^2~379 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60964dd7087fa252c16022a7590e385294c5472a;p=platform%2Fkernel%2Flinux-stable.git be2net: Fix broken priority setting when vlan tagging is enabled. Signed-off-by: Ajit Khaparde Signed-off-by: David S. Miller --- diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index 277982b..8fa9a70 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/benet/be_cmds.c @@ -102,6 +102,7 @@ static void be_async_grp5_cos_priority_process(struct be_adapter *adapter, { if (evt->valid) { adapter->vlan_prio_bmap = evt->available_priority_bmap; + adapter->recommended_prio &= ~VLAN_PRIO_MASK; adapter->recommended_prio = evt->reco_default_priority << VLAN_PRIO_SHIFT; }