From: Dirk Brenken Date: Sun, 26 Jul 2026 04:48:30 +0000 (+0200) Subject: travelmate: fix loss of configured uplink mac address X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b036203cbc27ef37c03ed1f8419d8d2b65e481f1;p=openwrt-packages.git travelmate: fix loss of configured uplink mac address - pass the station details to the "rev" call so the uplink section stays resolved, fixes #30099 - the same empty trm_uplinkcfg also silently skipped disabling the uplink after trm_maxretry was reached - fixed that too with this oneliner Signed-off-by: Dirk Brenken --- diff --git a/net/travelmate/Makefile b/net/travelmate/Makefile index 71ca99568..94769f3b4 100644 --- a/net/travelmate/Makefile +++ b/net/travelmate/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=travelmate PKG_VERSION:=2.4.6 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_LICENSE:=GPL-3.0-or-later PKG_MAINTAINER:=Dirk Brenken diff --git a/net/travelmate/files/travelmate-functions.sh b/net/travelmate/files/travelmate-functions.sh index b72e89163..ce7d3d03f 100644 --- a/net/travelmate/files/travelmate-functions.sh +++ b/net/travelmate/files/travelmate-functions.sh @@ -1496,7 +1496,7 @@ f_main() { return 0 else uci -q revert "wireless" - f_check "rev" "false" + f_check "rev" "false" "${sta_radio}" "${sta_essid}" "${sta_bssid}" if [ "${retrycnt}" -eq "${trm_maxretry}" ]; then if [ -n "${trm_uplinkcfg}" ]; then uci_set "travelmate" "${trm_uplinkcfg}" "enabled" "0"