diff options
author | Sjur Braendeland <sjur.brandeland@stericsson.com> | 2010-04-28 04:54:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-28 15:55:15 -0400 |
commit | 2c485209a5c73fe94f4074e381cdc1ee24ca94a8 (patch) | |
tree | b9622da3615e3996087467c82ebd1a3c67c8c14a /net/caif | |
parent | 8391c4aab1aa4f47a9dab2c1ec3ebd2cbf09df1b (diff) |
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')
-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, | |||
247 | 247 | ||
248 | switch (caifdev->link_select) { | 248 | switch (caifdev->link_select) { |
249 | case CAIF_LINK_HIGH_BANDW: | 249 | case CAIF_LINK_HIGH_BANDW: |
250 | pref = CFPHYPREF_LOW_LAT; | 250 | pref = CFPHYPREF_HIGH_BW; |
251 | break; | 251 | break; |
252 | case CAIF_LINK_LOW_LATENCY: | 252 | case CAIF_LINK_LOW_LATENCY: |
253 | pref = CFPHYPREF_HIGH_BW; | 253 | pref = CFPHYPREF_LOW_LAT; |
254 | break; | 254 | break; |
255 | default: | 255 | default: |
256 | pref = CFPHYPREF_HIGH_BW; | 256 | pref = CFPHYPREF_HIGH_BW; |