Merge pull request #1343 from kernelkit/misc-wifi-fixes

This commit is contained in:
Joachim Wiberg
2026-01-06 23:47:16 +01:00
committed by GitHub
8 changed files with 44 additions and 9 deletions
@@ -23,7 +23,7 @@ def detect_wifi_mode(ifname):
def find_primary_interface_from_config(ifname):
"""Find primary interface by reading hostapd config files"""
try:
file_list = HOST.run(tuple("ls /etc/hostapd-*.conf".split()), default="")
file_list = HOST.run(("sh", "-c", "ls /etc/hostapd-*.conf"), default="")
if not file_list:
return None