summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2010-04-26 18:32:43 +0800
committerAlejandro Gonzalez <alex.gonzalez@digi.com>2010-05-25 11:20:26 +0200
commit2ee51538f7ab45f4f0184930c3afdfbce5820d66 (patch)
treeb19e4f6e95ed6c5f77c2d939c2308a6ea041e7d0
parent222749bfe250395a45062ee6a6744883e1f8e6c4 (diff)
ENGR00122879 ath6kl: set default ifname to wlan%d
It's easy for ChromiumOS to use. Signed-off-by: Richard Zhao <richard.zhao@freescale.com> (cherry picked from commit 6c559e0811e10a23d9ff290d29855f4505669d41) Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
-rw-r--r--drivers/net/wireless/ath6kl/os/linux/ar6000_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath6kl/os/linux/ar6000_drv.c b/drivers/net/wireless/ath6kl/os/linux/ar6000_drv.c
index 68b2ebf655ee..33e13064c43f 100644
--- a/drivers/net/wireless/ath6kl/os/linux/ar6000_drv.c
+++ b/drivers/net/wireless/ath6kl/os/linux/ar6000_drv.c
@@ -111,7 +111,7 @@ unsigned int processDot11Hdr = 0;
int bmienable = BMIENABLE_DEFAULT;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
-char ifname[IFNAMSIZ] = {0,};
+char ifname[IFNAMSIZ] = "wlan%d";
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) */
int wlaninitmode = WLAN_INIT_MODE_DEFAULT;