aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/sysfs.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-02-21 00:04:19 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:54 -0500
commitb5850a7a4fd5bcab4f6a2c49e5b4ab9ebb1d5d44 (patch)
tree0f2d14a5cf0e47c6d2ab647248b06cedd4acf85b /net/wireless/sysfs.c
parent79f6440c527c61bcd84edfbdeb390841b9fe5095 (diff)
downloadkernel_samsung_tuna-b5850a7a4fd5bcab4f6a2c49e5b4ab9ebb1d5d44.zip
kernel_samsung_tuna-b5850a7a4fd5bcab4f6a2c49e5b4ab9ebb1d5d44.tar.gz
kernel_samsung_tuna-b5850a7a4fd5bcab4f6a2c49e5b4ab9ebb1d5d44.tar.bz2
cfg80211: rename cfg80211_registered_device's idx to wiphy_idx
Makes it clearer to read when comparing to ifidx Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/sysfs.c')
-rw-r--r--net/wireless/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/sysfs.c b/net/wireless/sysfs.c
index 15feaeb..efe3c5c 100644
--- a/net/wireless/sysfs.c
+++ b/net/wireless/sysfs.c
@@ -31,7 +31,7 @@ static ssize_t name ## _show(struct device *dev, \
return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \
}
-SHOW_FMT(index, "%d", idx);
+SHOW_FMT(index, "%d", wiphy_idx);
SHOW_FMT(macaddress, "%pM", wiphy.perm_addr);
static struct device_attribute ieee80211_dev_attrs[] = {