qmod: wwan_led.c: Fix handling of LED for second Modem

This commit is contained in:
Harald Welte committed 2017-05-05 20:58:53 +02:00
1 parent 9164a6d335
commit 7e4390f181
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ int wwan_led_active(int wwan)
return -1;
}
active = PIO_Get(&pin_wwan1) ? 0 : 1;
active = PIO_Get(pin) ? 0 : 1;
return active;
}