add recipes-wlan, e2openplugins
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-wlan / wlan-rt73 / files / changeiface.patch
1 --- Module/rtmp_main.c_orig     2008-05-06 07:26:44.000000000 +0200
2 +++ Module/rtmp_main.c  2008-08-12 09:19:55.000000000 +0200
3 @@ -987,7 +987,7 @@
4  
5                 for (i = 0; i < 8; i++)
6                 {
7 -                       sprintf(slot_name, "rausb%d", i);
8 +                       sprintf(slot_name, "wlan%d", i);
9                         
10                         read_lock_bh(&dev_base_lock); // avoid multiple init
11  //Benson modify -->
12 @@ -1010,7 +1010,7 @@
13                         return NULL;
14                 }
15  
16 -               sprintf(pAd->net_dev->name, "rausb%d", i);
17 +               sprintf(pAd->net_dev->name, "wlan%d", i);
18                 DBGPRINT(RT_DEBUG_ERROR, "usb device name %s\n",pAd->net_dev->name);
19  
20          /* get Max Packet Size from usb_dev endpoint */
21 @@ -1191,7 +1191,7 @@
22          
23                 for (i = 0; i < 8; i++)
24                 {
25 -                       sprintf(slot_name, "rausb%d", i);
26 +                       sprintf(slot_name, "wlan%d", i);
27  
28  #if 1          
29  //--> Benson add 20080505, for Linux_kernel > 2,6,24 
30 @@ -1231,7 +1231,7 @@
31                         return res;
32                 }
33  
34 -               sprintf(pAd->net_dev->name, "rausb%d", i);
35 +               sprintf(pAd->net_dev->name, "wlan%d", i);
36                 DBGPRINT(RT_DEBUG_ERROR, "usb device name %s\n", pAd->net_dev->name);
37  
38