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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=60964dd7087fa252c16022a7590e385294c5472a;p=openwrt%2Fstaging%2Fblogic.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 277982babc11..8fa9a709d9fe 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; }