Skip to content

Commit

Permalink
Bugfix: Link selection was swapped in switch.
Browse files Browse the repository at this point in the history
Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sjur Braendeland authored and David S. Miller committed Apr 28, 2010
1 parent 8391c4a commit 2c48520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/caif/caif_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ static int caif_device_notify(struct notifier_block *me, unsigned long what,

switch (caifdev->link_select) {
case CAIF_LINK_HIGH_BANDW:
pref = CFPHYPREF_LOW_LAT;
pref = CFPHYPREF_HIGH_BW;
break;
case CAIF_LINK_LOW_LATENCY:
pref = CFPHYPREF_HIGH_BW;
pref = CFPHYPREF_LOW_LAT;
break;
default:
pref = CFPHYPREF_HIGH_BW;
Expand Down

0 comments on commit 2c48520

Please sign in to comment.