mirror of git://git.sysmocom.de/ofono
n900: Fix link target status
This commit is contained in:
parent
31d3142256
commit
e8d88d48da
|
@ -335,7 +335,7 @@ static void gpio_power_state_machine(enum power_event event)
|
||||||
|
|
||||||
switch (event) {
|
switch (event) {
|
||||||
case POWER_EVENT_ON:
|
case POWER_EVENT_ON:
|
||||||
self.target = POWER_EVENT_PHONET_LINK_UP;
|
self.target = PHONET_LINK_UP;
|
||||||
|
|
||||||
if (self.current == PHONET_LINK_NONE)
|
if (self.current == PHONET_LINK_NONE)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue