Bugfix: Link selection was swapped in switch.
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Wed, 28 Apr 2010 08:54:40 +0000 (08:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:55:15 +0000 (12:55 -0700)
Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

net/caif/caif_dev.c

index 0145bae..024fd5b 100644 (file)
@@ -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;