]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: fix ucode erp_domain and fils_cache_id values 22677/head
authorJoshua Klinesmith <joshuaklinesmith@gmail.com>
Sun, 29 Mar 2026 20:19:40 +0000 (16:19 -0400)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 3 Apr 2026 22:18:31 +0000 (00:18 +0200)
commitb178e05d9b241fe3dc2c48cc5011e1ffa86c9e4b
tree72119bce93ca245b4fdc3f1b0e1c45c06c8b7904
parentdc597eeb79b5c6bb20cb2d36734abfc5a79d8288
wifi-scripts: fix ucode erp_domain and fils_cache_id values

The ucode path generates different erp_domain and fils_cache_id
values than the legacy shell path due to three mismatches:

1. erp_domain md5 input missing trailing newline (echo adds \n)
2. erp_domain output truncated to 4 chars instead of 8 (shell
   uses head -c 8)
3. fils_cache_id md5 input missing trailing newline
4. erp_domain missing fallback to mobility_domain

Same bug pattern as mobility_domain fixed in commit b1dc2736db.

Fixes: #21768
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Joshua Klinesmith <joshuaklinesmith@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22677
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc