Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 55e5efd5 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "nl80211: Fix external_auth check for offloaded authentication"

parents 7d27f0ea 622fdc1d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@
/* Indicate backport support for processing user cell base hint */
#define CFG80211_USER_HINT_CELL_BASE_SELF_MANAGED 1

/* Indicate backport support for external authentication*/
#define CFG80211_EXTERNAL_AUTH_SUPPORT 1

/**
 * DOC: Introduction
 *
+1 −1
Original line number Diff line number Diff line
@@ -12424,7 +12424,7 @@ static int nl80211_external_auth(struct sk_buff *skb, struct genl_info *info)
	struct net_device *dev = info->user_ptr[1];
	struct cfg80211_external_auth_params params;

	if (rdev->ops->external_auth)
	if (!rdev->ops->external_auth)
		return -EOPNOTSUPP;

	if (!info->attrs[NL80211_ATTR_SSID])