From cc69f83f3d8182bf464b212243d506fcb1b99142 Mon Sep 17 00:00:00 2001 From: Carlos Garces Date: Tue, 12 Oct 2021 17:17:16 +0200 Subject: [PATCH] Remove empty update_bcn_p2p_ie --- core/rtw_ap.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/core/rtw_ap.c b/core/rtw_ap.c index 7efed8d..d469bf5 100644 --- a/core/rtw_ap.c +++ b/core/rtw_ap.c @@ -3226,11 +3226,6 @@ static void update_bcn_wps_ie(_adapter *padapter) #endif } -static void update_bcn_p2p_ie(_adapter *padapter) -{ - -} - static void update_bcn_vendor_spec_ie(_adapter *padapter, u8 *oui) { RTW_INFO("%s\n", __FUNCTION__); @@ -3241,9 +3236,9 @@ static void update_bcn_vendor_spec_ie(_adapter *padapter, u8 *oui) update_bcn_wmm_ie(padapter); else if (_rtw_memcmp(WPS_OUI, oui, 4)) update_bcn_wps_ie(padapter); - else if (_rtw_memcmp(P2P_OUI, oui, 4)) - update_bcn_p2p_ie(padapter); - else + else if (_rtw_memcmp(P2P_OUI, oui, 4)) { + // update_bcn_p2p_ie(padapter); + } else RTW_INFO("unknown OUI type!\n");