Skip to content

Commit 89383a0

Browse files
authored
Merge pull request #110 from ffac/remove_usb_mt7620
remove usb from mt7620 instead of removing useful features
2 parents 64c378d + e2e0b57 commit 89383a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

image-customization.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ packages {
2525
'tecff-broken-wlan-workaround',
2626
}
2727

28-
if not device_class('tiny') and not target('ramips', 'mt7620') then
28+
if not device_class('tiny') then
2929
features {
3030
'tls',
3131
'wireless-encryption-wpa3',
@@ -116,7 +116,7 @@ pkgs_pci = {
116116
include_usb = true
117117

118118
-- rtl838x has no USB support as of Gluon v2023.2
119-
if target('realtek', 'rtl838x') then
119+
if target('realtek', 'rtl838x') or target('ramips', 'mt7620') then
120120
include_usb = false
121121
end
122122

0 commit comments

Comments
 (0)