From 2611e86438be599f0b7fa74aadc5822525403f0d Mon Sep 17 00:00:00 2001
From: David Bauer <mail@david-bauer.net>
Date: Wed, 10 Jun 2020 22:44:58 +0200
Subject: [PATCH] gluon-core: allow WPA3 features on ramips-mt7620

Backporting the MFP patch allows us to utilize WPA3 features on this
target.

Tested on TP-Link Archer C20i
---
 package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
index b4fc708b4..213eb1506 100644
--- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
+++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua
@@ -66,7 +66,7 @@ end
 
 function M.device_supports_wpa3()
 	-- rt2x00 crashes when enabling WPA3 personal / OWE VAP
-	if M.match('ramips', 'rt305x') or M.match('ramips', 'mt7620') then
+	if M.match('ramips', 'rt305x') then
 		return false
 	end
 
-- 
GitLab