Browse Source

[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>
tags/v1.20.1
Joshua Oreman 14 years ago
parent
commit
0c593d95e5
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/net/80211/sec80211.c

+ 3
- 3
src/net/80211/sec80211.c View File

402
  * it. If it does not exist, any network with the PRIVACY bit set in
402
  * it. If it does not exist, any network with the PRIVACY bit set in
403
  * beacon->capab should be considered unknown.
403
  * beacon->capab should be considered unknown.
404
  */
404
  */
405
-int _sec80211_detect ( struct io_buffer *iob,
406
-		       enum net80211_security_proto *secprot,
407
-		       enum net80211_crypto_alg *crypt )
405
+int sec80211_detect ( struct io_buffer *iob,
406
+		      enum net80211_security_proto *secprot,
407
+		      enum net80211_crypto_alg *crypt )
408
 {
408
 {
409
 	struct ieee80211_frame *hdr = iob->data;
409
 	struct ieee80211_frame *hdr = iob->data;
410
 	struct ieee80211_beacon *beacon =
410
 	struct ieee80211_beacon *beacon =

Loading…
Cancel
Save