Wifi:RTL8188EU: modify to creat p2p0 interface for wifi direct.
authorgwl <gwl@rock-chips.com>
Mon, 21 Jul 2014 08:25:19 +0000 (16:25 +0800)
committerli bing <libing@rock-chips.com>
Mon, 21 Jul 2014 09:27:25 +0000 (17:27 +0800)
drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/os_intfs.c

index 765d4ee8b60c406e31ff78a1e02070240d9543ed..c36266fd73cf159faad80dcbc422b00942f9f808 100755 (executable)
@@ -210,7 +210,7 @@ char* ifname = "wlan%d";
 module_param(ifname, charp, 0644);
 MODULE_PARM_DESC(ifname, "The default name to allocate for first interface");
 
-char* if2name = "wlan%d";
+char* if2name = "p2p0";
 module_param(if2name, charp, 0644);
 MODULE_PARM_DESC(if2name, "The default name to allocate for second interface");