Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c485209 authored by Sjur Braendeland's avatar Sjur Braendeland Committed by David S. Miller
Browse files

Bugfix: Link selection was swapped in switch.

parent 8391c4aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;