From fb26bf8308eeaa8e78b4b60c67110e8f7c759e3b Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Mon, 26 Apr 2010 18:32:43 +0800 Subject: ENGR00122879 ath6kl: set default ifname to wlan%d It's easy for ChromiumOS to use. Signed-off-by: Richard Zhao (cherry picked from commit 6c559e0811e10a23d9ff290d29855f4505669d41) --- drivers/net/wireless/ath6kl/os/linux/ar6000_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3