mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-05 05:21:48 +00:00
[802.11] Use correct name for sec80211_detect()
The workhorse function for detecting 802.11 security was still named _sec80211_detect(), a holdover from the old style of weak function handling, with the result that all networks would be identified as "unknown". Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
02e6092cd5
commit
0c593d95e5
@ -402,9 +402,9 @@ int sec80211_detect_ie ( int is_rsn, u8 *start, u8 *end,
|
||||
* it. If it does not exist, any network with the PRIVACY bit set in
|
||||
* beacon->capab should be considered unknown.
|
||||
*/
|
||||
int _sec80211_detect ( struct io_buffer *iob,
|
||||
enum net80211_security_proto *secprot,
|
||||
enum net80211_crypto_alg *crypt )
|
||||
int sec80211_detect ( struct io_buffer *iob,
|
||||
enum net80211_security_proto *secprot,
|
||||
enum net80211_crypto_alg *crypt )
|
||||
{
|
||||
struct ieee80211_frame *hdr = iob->data;
|
||||
struct ieee80211_beacon *beacon =
|
||||
|
Loading…
x
Reference in New Issue
Block a user