stockwell/android_device_huawei_u8800 — comment on commit 5219f33af49b676ed3f890313899983c92d72689
File:  line 0
By Genosoft:

maybe could use load_libra instead wifi.c insmod like this

i used on u8800pro, worked fine.

int wifi_load_driver()
{
char driver_status[PROPERTY_VALUE_MAX];
int count = 100; /* wait at most 20 seconds for completion */

if (check_driver_loaded()) {
return 0;
}

if (!strcmp(PRELOADER,"") == 0) {
LOGW("Starting WIFI pre-loader");
property_set("ctl.start", PRELOADER);
}

#ifdef WIFI_EXT_MODULE_PATH
if (insmod(EXT_MODULE_PATH, EXT_MODULE_ARG) < 0)
return -1;
usleep(200000);
#endif

#ifdef WIFI_CUSTOM_LOADER
LOGW("Starting WIFI custom loader");
property_set("ctl.start", CUSTOM_LOADER);
#else
if (insmod(DRIVER_MODULE_PATH, DRIVER_MODULE_ARG) < 0){
#ifdef WIFI_EXT_MODULE_NAME
rmmod(EXT_MODULE_NAME);
#endif
LOGE("load wifi failed");
return -1;
}

#endif