]> git.ipfire.org Git - thirdparty/openwrt.git/commit
gpio-latch-mikrotik: fix logic error 23150/head
authorRosen Penev <rosenp@gmail.com>
Thu, 23 Apr 2026 21:41:18 +0000 (14:41 -0700)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 14 May 2026 20:31:53 +0000 (22:31 +0200)
commitd2f6e5b6fa95b376cc87f1babcbeb6087ddd09e4
treec4cae3d0f93c14e6844eb451171133fbda6f2627
parent89d8dc13d066e5dc44586e3db670cb8daabf7c23
gpio-latch-mikrotik: fix logic error

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>
target/linux/ath79/files/drivers/gpio/gpio-latch-mikrotik.c