diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-11 13:37:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-11 21:14:47 -0800 |
commit | 60964dd7087fa252c16022a7590e385294c5472a (patch) | |
tree | 8c0d361cb9a96963f222461169b1e81b4c2b0684 /drivers/net/benet/be_cmds.c | |
parent | a4b4dfab6ca808a5d1073cdfb7f39e8ce59f71e2 (diff) | |
download | op-kernel-dev-60964dd7087fa252c16022a7590e385294c5472a.zip op-kernel-dev-60964dd7087fa252c16022a7590e385294c5472a.tar.gz |
be2net: Fix broken priority setting when vlan tagging is enabled.
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_cmds.c')
-rw-r--r-- | drivers/net/benet/be_cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |