diff options
| author | wadesong <wadesong@codeaurora.org> | 2020-05-27 13:16:22 +0800 |
|---|---|---|
| committer | wadesong <wadesong@codeaurora.org> | 2020-06-03 12:51:49 +0800 |
| commit | 4d6f2b37964adef33c85b11574a1b7f685522274 (patch) | |
| tree | 3cc36e2759b28e54b7fc603fbf58628950a1213d | |
| parent | c0d514cb81bb7d2b904022a4f48b43934dd280ac (diff) | |
qcacld-3.0: Enable mgmt_tx for auth frames in SAP mode
Hostapd handles SAE authentication and sends the
authentication frames via NL80211_CMD_FRAME interface.
Enable mgmt_tx API for SAP mode as well to
facilitate the same.
Change-Id: Ie858881333b0f12e03f9a4f7b54fe5476b1d9173
CRs-Fixed: 2695503
| -rw-r--r-- | core/hdd/src/wlan_hdd_p2p.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_p2p.c b/core/hdd/src/wlan_hdd_p2p.c index cd147f16a76a..ec8be80f8d9f 100644 --- a/core/hdd/src/wlan_hdd_p2p.c +++ b/core/hdd/src/wlan_hdd_p2p.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2020 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -2003,7 +2003,8 @@ static int __wlan_hdd_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, * When frame to be transmitted is auth mgmt, then trigger * sme_send_mgmt_tx to send auth frame */ - if ((pAdapter->device_mode == QDF_STA_MODE) && + if ((pAdapter->device_mode == QDF_STA_MODE || + pAdapter->device_mode == QDF_SAP_MODE) && (type == SIR_MAC_MGMT_FRAME && subType == SIR_MAC_MGMT_AUTH)) { qdf_status = sme_send_mgmt_tx(WLAN_HDD_GET_HAL_CTX(pAdapter), |
