wifi-profile: close mt7986-2.4g for ax7800 project

This commit is contained in:
hanwckf 2024-09-20 21:36:45 +08:00
parent 5e16f8a4f2
commit 19b75b9276

View File

@ -222,6 +222,11 @@ function mtwifi_up(devname)
mtwifi_iwpriv_hook(devname)
os.execute(" rm -rf /tmp/mtk/wifi/mtwifi*.need_reload")
-- for ax7800 project, close the ra0.
if string.find(dev.profile_path, "ax7800") then
os.execute("ifconfig ra0 down")
end
end
function mtwifi_down(devname)