latch_enabled should be false when unlocking. it's set to true when locking. Probably copy/paste bug. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23150 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>