[NEUS7920-218] [9610] wlbt: Wpa3 Ap Fixes in Drv
authorJayaprakash Sangaru <j.sangaru@samsung.com>
Wed, 24 Apr 2019 13:25:29 +0000 (18:55 +0530)
committerKim Gunho <gunho.kim@samsung.com>
Fri, 28 Jun 2019 14:45:09 +0000 (23:45 +0900)
Wpa3 Ap Drv fixes

SCSC-Bug-Id: SSB-51978

Change-Id: Iac697886109c772ae0793e513055a23acec7aa6d
Signed-off-by: Jayaprakash Sangaru <j.sangaru@samsung.com>
drivers/net/wireless/scsc/cfg80211_ops.c

index af4ecf905ce84d1d1f9216d25364eeaf0730553c..697c6d6ac0d3842785b5e81e2996c9eff9f02e16 100755 (executable)
@@ -2828,7 +2828,7 @@ int slsi_mgmt_tx(struct wiphy *wiphy, struct net_device *dev,
                r = -EINVAL;
                goto exit;
        }
-       if (SLSI_IS_VIF_INDEX_WLAN(ndev_vif)) {
+       if (SLSI_IS_VIF_INDEX_WLAN(ndev_vif) || (ndev_vif->iftype == NL80211_IFTYPE_AP && (ieee80211_is_auth(mgmt->frame_control)))) {
                r = slsi_wlan_mgmt_tx(SDEV_FROM_WIPHY(wiphy), dev, chan, wait, buf, len, dont_wait_for_ack, cookie);
                goto exit;
        }