diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2010-04-26 18:32:43 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2010-04-26 18:43:49 +0800 |
commit | fb26bf8308eeaa8e78b4b60c67110e8f7c759e3b (patch) | |
tree | 36e42ede857e4c3b6579eea69c32b3dede06e8f3 | |
parent | a7df6309c2dbc664b2a2830aced10d07ffbef56e (diff) |
ENGR00122879 ath6kl: set default ifname to wlan%drel_imx_2.6.31_10.04.01
It's easy for ChromiumOS to use.
Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
(cherry picked from commit 6c559e0811e10a23d9ff290d29855f4505669d41)
-rw-r--r-- | drivers/net/wireless/ath6kl/os/linux/ar6000_drv.c | 2 |
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; |