diff options
author | Sjur Braendeland <sjur.brandeland@stericsson.com> | 2010-04-28 08:54:40 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-28 12:55:15 -0700 |
commit | 2c485209a5c73fe94f4074e381cdc1ee24ca94a8 (patch) | |
tree | b9622da3615e3996087467c82ebd1a3c67c8c14a /net/caif/caif_dev.c | |
parent | 8391c4aab1aa4f47a9dab2c1ec3ebd2cbf09df1b (diff) | |
download | linux-2c485209a5c73fe94f4074e381cdc1ee24ca94a8.tar.gz |
Bugfix: Link selection was swapped in switch.
Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/caif_dev.c')
-rw-r--r-- | net/caif/caif_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/caif/caif_dev.c b/net/caif/caif_dev.c index 0145bae0274f..024fd5bb2d39 100644 --- a/net/caif/caif_dev.c +++ b/net/caif/caif_dev.c @@ -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; |