diff options
author | Nam Cao <namcaov@gmail.com> | 2022-09-02 11:52:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-09 09:49:48 +0200 |
commit | 721740f8b8c203e36c0e6d6fd47e7063a7bfb29e (patch) | |
tree | de5c64fefecdf65cd14591aa8a2e6b1eac2389b2 /drivers/staging/rtl8723bs/core | |
parent | 2d0cb6588d6d18f635f91403d4e82d360f843d17 (diff) | |
download | linux-stable-721740f8b8c203e36c0e6d6fd47e7063a7bfb29e.tar.gz linux-stable-721740f8b8c203e36c0e6d6fd47e7063a7bfb29e.tar.bz2 linux-stable-721740f8b8c203e36c0e6d6fd47e7063a7bfb29e.zip |
staging: rtl8723bs: remove rtw_is_wps_ie
Remove function rtw_is_wps_ie because it is not used.
Signed-off-by: Nam Cao <namcaov@gmail.com>
Link: https://lore.kernel.org/r/69f128559008c94e29eab511a92964810688288e.1662111799.git.namcaov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/core')
-rw-r--r-- | drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c index 68e41d99679d..3d8a64f69448 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c @@ -634,23 +634,6 @@ void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie } } -u8 rtw_is_wps_ie(u8 *ie_ptr, uint *wps_ielen) -{ - u8 match = false; - u8 eid, wps_oui[4] = {0x0, 0x50, 0xf2, 0x04}; - - if (!ie_ptr) - return match; - - eid = ie_ptr[0]; - - if ((eid == WLAN_EID_VENDOR_SPECIFIC) && (!memcmp(&ie_ptr[2], wps_oui, 4))) { - *wps_ielen = ie_ptr[1]+2; - match = true; - } - return match; -} - /** * rtw_get_wps_ie - Search WPS IE from a series of IEs * @in_ie: Address of IEs to search |