ramips-mt7620: add support for Xiaomi MiWifi Mini (#1638)
This commit is contained in:
parent
a9a4abb637
commit
3b0e5fab71
@ -51,6 +51,8 @@ elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040',
|
||||
table.insert(try_files, 1, '/sys/class/net/eth0/address')
|
||||
elseif platform.match('ipq806x', nil, {'netgear,r7800'}) then
|
||||
table.insert(try_files, 1, '/sys/class/net/eth1/address')
|
||||
elseif platform.match('ramips', 'mt7620', {'miwifi-mini'}) then
|
||||
table.insert(try_files, 1, '/sys/class/net/eth0/address')
|
||||
elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then
|
||||
table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress')
|
||||
end
|
||||
|
7
targets/ramips-mt7620
Normal file → Executable file
7
targets/ramips-mt7620
Normal file → Executable file
@ -21,3 +21,10 @@ device nexx-wt3020-8m wt3020-8M
|
||||
alias nexx-wt3020ad
|
||||
alias nexx-wt3020f
|
||||
alias nexx-wt3020h
|
||||
|
||||
# Xiaomi
|
||||
|
||||
if [ "$BROKEN" ]; then
|
||||
device xiaomi-miwifi-mini miwifi-mini # BROKEN: 2.4GHz WiFi is Unstable
|
||||
factory
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user