]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: fix ucode mobility_domain default value
authorYoufu Zhang <zhangyoufu@gmail.com>
Tue, 27 Jan 2026 07:11:15 +0000 (15:11 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 27 Jan 2026 23:25:41 +0000 (00:25 +0100)
commitb1dc2736db879836746d0ed47d8cf8669149f567
treeefb8dc3ae6ea61b3dc9d05a245eedc8b8b836377
parenta8e32d208ae192299bf32457924170255aaad6f7
wifi-scripts: fix ucode mobility_domain default value

The mobility_domain value generated by ucode differed from the previous
shell script implementation. The legacy shell script used `echo` on the
SSID, which appended a trailing newline.

To maintain roaming compatibility with pre-25.12 releases and OpenWrt
forks in default configuration, update the ucode logic to include this
newline character when generating the default value.

Fixes: #21731
Signed-off-by: Youfu Zhang <zhangyoufu@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21732
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 1d0e2859c5c7cd01c1092019b89dd0f56bf3dda8)
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc