Enlightenment CVS committal Author : devilhorns Project : e_modules Module : wlan
Dir : e_modules/wlan Modified Files: e_mod_main.c Log Message: Set proper default device. Potential fix for link always = 0 =================================================================== RCS file: /cvsroot/enlightenment/e_modules/wlan/e_mod_main.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- e_mod_main.c 20 Feb 2006 18:30:41 -0000 1.3 +++ e_mod_main.c 20 Feb 2006 19:58:01 -0000 1.4 @@ -132,7 +132,7 @@ if (!n->conf) { n->conf = E_NEW(Config, 1); - n->conf->device = (char *)evas_stringshare_add(""); + n->conf->device = (char *)evas_stringshare_add("wlan0"); n->conf->check_interval = 30; } E_CONFIG_LIMIT(n->conf->check_interval, 0, 60); @@ -436,9 +436,6 @@ } fclose(stat); - if (!found_dev) - return 1; - /* Update the modules text */ Edje_Message_Int_Set *msg; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs