]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Minor (janitorial) change to ieee80211
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 3 Mar 2006 22:21:55 +0000 (16:21 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Mar 2006 17:07:02 +0000 (12:07 -0500)
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>
net/ieee80211/ieee80211_wx.c

index af7f9bbfd18ab0aacf33dc423fc7452806305bed..b885fd189403e8da67ae0dd967b94a7f45ae9df9 100644 (file)
@@ -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",