Skip to content

Commit

Permalink
[PATCH] Minor (janitorial) change to ieee80211
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Larry Finger authored and John W. Linville committed Mar 27, 2006
1 parent cfa146e commit d94606e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ieee80211/ieee80211_wx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit d94606e

Please sign in to comment.