Skip to content

Commit

Permalink
be2net: Fix broken priority setting when vlan tagging is enabled.
Browse files Browse the repository at this point in the history
Signed-off-by: Ajit Khaparde <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Ajit Khaparde authored and davem330 committed Feb 12, 2011
1 parent a4b4dfa commit 60964dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/benet/be_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 60964dd

Please sign in to comment.