diff options
author | Ajit Khaparde <ajit.khaparde@emulex.com> | 2011-02-11 08:37:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-12 00:14:47 -0500 |
commit | 60964dd7087fa252c16022a7590e385294c5472a (patch) | |
tree | 8c0d361cb9a96963f222461169b1e81b4c2b0684 /drivers | |
parent | a4b4dfab6ca808a5d1073cdfb7f39e8ce59f71e2 (diff) |
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')
-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 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, | |||
102 | { | 102 | { |
103 | if (evt->valid) { | 103 | if (evt->valid) { |
104 | adapter->vlan_prio_bmap = evt->available_priority_bmap; | 104 | adapter->vlan_prio_bmap = evt->available_priority_bmap; |
105 | adapter->recommended_prio &= ~VLAN_PRIO_MASK; | ||
105 | adapter->recommended_prio = | 106 | adapter->recommended_prio = |
106 | evt->reco_default_priority << VLAN_PRIO_SHIFT; | 107 | evt->reco_default_priority << VLAN_PRIO_SHIFT; |
107 | } | 108 | } |