diff options
author | Larry Finger | 2006-03-03 23:21:55 +0100 |
---|---|---|
committer | John W. Linville | 2006-03-27 19:07:02 +0200 |
commit | d94606e058fccf5e22537bcc6d0f297224350303 (patch) | |
tree | b0d67b9df91e72510972dfd1604703c01401799b /net/ieee80211 | |
parent | [PATCH] hostap: Fix EAPOL frame encryption (diff) | |
download | kernel-qcow2-linux-d94606e058fccf5e22537bcc6d0f297224350303.tar.gz kernel-qcow2-linux-d94606e058fccf5e22537bcc6d0f297224350303.tar.xz kernel-qcow2-linux-d94606e058fccf5e22537bcc6d0f297224350303.zip |
[PATCH] Minor (janitorial) change to ieee80211
The attached patch removes a potential problem from ieee80211_wx.c, by changing the name of routine
ipw2100_translate_scan to ieee80211_translate_scan. The problem is minor as the routine is declared
static; however, if it were made global, it would pollute the namespace.
Signed-Off-By: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211')
-rw-r--r-- | net/ieee80211/ieee80211_wx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c index af7f9bbfd18a..b885fd189403 100644 --- a/net/ieee80211/ieee80211_wx.c +++ b/net/ieee80211/ieee80211_wx.c @@ -42,7 +42,7 @@ static const char *ieee80211_modes[] = { }; #define MAX_CUSTOM_LEN 64 -static char *ipw2100_translate_scan(struct ieee80211_device *ieee, +static char *ieee80211_translate_scan(struct ieee80211_device *ieee, char *start, char *stop, struct ieee80211_network *network) { @@ -274,7 +274,7 @@ int ieee80211_wx_get_scan(struct ieee80211_device *ieee, if (ieee->scan_age == 0 || time_after(network->last_scanned + ieee->scan_age, jiffies)) - ev = ipw2100_translate_scan(ieee, ev, stop, network); + ev = ieee80211_translate_scan(ieee, ev, stop, network); else IEEE80211_DEBUG_SCAN("Not showing network '%s (" MAC_FMT ")' due to age (%dms).\n", |