summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlifeng <lifeng@codeaurora.org>2018-04-24 14:00:35 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-04-23 23:21:31 -0700
commit38d8adae620ceaa629fbd0fc05dde0e4ce02a0b0 (patch)
treee42c49a27459230cdee4e45a2448b7b267404acf
parent8029539ffd5acd0d2cec2f05cae931181ebc958c (diff)
qcacld-2.0: call the new cfg80211 roamed api from kernel 4.12
If the marco CFG80211_ROAMED_API_UNIFIED is not defined, call the new cfg80211 roamed api from kernel 4.12 . Change-Id: I2c8f61197e44d1307abb4813351650b7a7dd5a51 CRs-Fixed: 2229982
-rw-r--r--CORE/HDD/src/wlan_hdd_assoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_assoc.c b/CORE/HDD/src/wlan_hdd_assoc.c
index 8b51856adf47..32123daf33f8 100644
--- a/CORE/HDD/src/wlan_hdd_assoc.c
+++ b/CORE/HDD/src/wlan_hdd_assoc.c
@@ -2066,7 +2066,7 @@ static inline int hdd_send_roam_auth_event(hdd_context_t *hdd_ctx,
* Return: none
*/
#if defined CFG80211_ROAMED_API_UNIFIED || \
- (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0))
+ (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))
static void hdd_send_roamed_ind(struct net_device *dev,
struct cfg80211_bss *bss, const uint8_t *req_ie,
size_t req_ie_len, const uint8_t *resp_ie,