qcacmn: sun changes

With new sun kernel, wep keys are deprecated,
resulting in compilation issues. Fix this by
not using wep_keys if kernel is sun or greater.

Change-Id: I2c79545798825ae7c963885356595e5fa35b910a
CRs-Fixed: 3601939
This commit is contained in:
Mohammed Ahmed
2023-08-28 16:14:42 -07:00
committed by Rahul Choudhary
parent 9b2ffd86bb
commit 426475f76c
2 changed files with 5 additions and 2 deletions

View File

@@ -38,7 +38,8 @@
#include <wlan_mlo_mgr_setup.h>
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) && \
LINUX_VERSION_CODE < KERNEL_VERSION(6, 2, 0)
static QDF_STATUS
osif_cm_update_wep_seq_info(struct wlan_cm_connect_req *connect_req,
const struct cfg80211_connect_params *req)