ENGR00122879 ath6kl: set default ifname to wlan%d

It's easy for ChromiumOS to use.

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
This commit is contained in:
Richard Zhao
2010-04-26 18:32:43 +08:00
committed by Matt Sealey
parent 9eae1095e9
commit a54c57ea1d

View File

@@ -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;