diff options
author | Sjur Braendeland <sjur.brandeland@stericsson.com> | 2010-04-28 10:54:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-28 21:55:15 +0200 |
commit | 2c485209a5c73fe94f4074e381cdc1ee24ca94a8 (patch) | |
tree | b9622da3615e3996087467c82ebd1a3c67c8c14a /net/caif/caif_dev.c | |
parent | caif: Bugfixes in CAIF netdevice for close and flow control (diff) | |
download | linux-2c485209a5c73fe94f4074e381cdc1ee24ca94a8.tar.xz linux-2c485209a5c73fe94f4074e381cdc1ee24ca94a8.zip |
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; |