aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/misc/lc15bts_led.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-06-10 22:54:51 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-21 13:46:50 +0000
commit080302f87070a7793d314bca6bbfbdfbe8856ec2 (patch)
tree4445764df8ae951f9fba1d0b636a9b04df6acf70 /src/osmo-bts-litecell15/misc/lc15bts_led.c
parentb9f3e14ba64e757eac8c2288fc7f17b2dd07959c (diff)
lc15: led_sleep_cb: pass correct ptr to llist_move_tail
Fix compilation warning. At runtime it's not a big issue because the "list" field is the first field of the led_list (struct lc15bts_led_timer_list) variable. Hence, the address passed is the same. Change-Id: Ib8bf07990800d74bfb3ad7a55eccfc65e40cd480
Diffstat (limited to 'src/osmo-bts-litecell15/misc/lc15bts_led.c')
-rw-r--r--src/osmo-bts-litecell15/misc/lc15bts_led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_led.c b/src/osmo-bts-litecell15/misc/lc15bts_led.c
index 603e0fb8..a93d3fb0 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_led.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_led.c
@@ -151,7 +151,7 @@ static void led_sleep_cb(void *_data) {
/* Delete current timer */
osmo_timer_del(&led_list->led_timer.timer);
/* Rotate the timer list */
- llist_move_tail(led_list, &mgr->lc15bts_leds.list);
+ llist_move_tail(&led_list->list, &mgr->lc15bts_leds.list);
break;
}
}