summaryrefslogtreecommitdiffstats
path: root/src/net/80211
diff options
context:
space:
mode:
authorJoshua Oreman2010-07-30 05:12:35 +0200
committerMichael Brown2010-08-01 18:29:07 +0200
commit0c593d95e5e1f391bbfa418774ae6433cabe308d (patch)
tree6121ff39957b0e5e8c620503ed338e48f4e2e63c /src/net/80211
parent[tcp] Fix a 64bit compile time error (diff)
downloadipxe-0c593d95e5e1f391bbfa418774ae6433cabe308d.tar.gz
ipxe-0c593d95e5e1f391bbfa418774ae6433cabe308d.tar.xz
ipxe-0c593d95e5e1f391bbfa418774ae6433cabe308d.zip
[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>
Diffstat (limited to 'src/net/80211')
-rw-r--r--src/net/80211/sec80211.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/80211/sec80211.c b/src/net/80211/sec80211.c
index ea4b0d00..82b1ce94 100644
--- a/src/net/80211/sec80211.c
+++ b/src/net/80211/sec80211.c
@@ -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 =