|
@@ -134,12 +134,12 @@
|
|
|
* used to indicate the Linux kernel contains support for multi AKM connect
|
|
|
* support
|
|
|
*
|
|
|
- * This feature was backported to Android Common Kernel 5.15 via:
|
|
|
- * https://android-review.googlesource.com/c/kernel/common/+/2115619
|
|
|
+ * This feature was introduced in Linux Kernel 6.0 via:
|
|
|
+ * ecad3b0b99bf wifi: cfg80211: Increase akm_suites array size in
|
|
|
+ * cfg80211_crypto_settings.
|
|
|
*/
|
|
|
-#if (defined(__ANDROID_COMMON_KERNEL__) && \
|
|
|
- (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)) && \
|
|
|
- (LINUX_VERSION_CODE < KERNEL_VERSION(5, 16, 0)))
|
|
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 0, 0) || \
|
|
|
+ (defined CFG80211_MAX_NUM_AKM_SUITES))
|
|
|
#define CFG80211_MULTI_AKM_CONNECT_SUPPORT 1
|
|
|
#endif
|
|
|
|