mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-05 00:53:32 +08:00
wifi-profile: close mt7986-2.4g for ax7800 project
This commit is contained in:
parent
5e16f8a4f2
commit
19b75b9276
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user