Hi all,
hope som1 can help.
I dlded drivers from :
http://www.mediatek.com/en/downloads...t5572-usb-usb/
And set
...
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y
# Support Native WpaSupplicant for Network Manger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
as mentioned here:
http://bernaerts.dyndns.org/linux/74...k-dwa160-revb2
everything else seems fine so I didnt change.
when I "make install" error happens. seems like it can´t find ".ko" file.
tried to do a search into the drivers folder but cant find it.
any ideas?
many thanks
edit:
I have been trying and making a lot of search. Seems like there is a problem with rt_linux.c code. I read in another post for another chipset that code is old for linux kernel but dunno how to fix.
I believe bug is over here as it tells "incompatible types when assigning to int"
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
pOSFSInfo->fsuid = current->fsuid;
pOSFSInfo->fsgid = current->fsgid;
current->fsuid = current->fsgid = 0;
#else
pOSFSInfo->fsuid = current_fsuid();
pOSFSInfo->fsgid = current_fsgid();
#endif
pOSFSInfo->fs = get_fs();
set_fs(KERNEL_DS);
} else {
set_fs(pOSFSInfo->fs);
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
current->fsuid = pOSFSInfo->fsuid;
current->fsgid = pOSFSInfo->fsgid;
#endif
}
}
edit 2:
Seems like I´m auto solving it! LOL. Im on VM, I will try in the PC this WE
I left the code like this, following instructions
pOSFSInfo->fsuid = current_fsuid();
pOSFSInfo->fsgid = current_fsgid();
pOSFSInfo->fs = get_fs();
set_fs(KERNEL_DS);
} else {
set_fs(pOSFSInfo->fs);
}
}



Adv Reply
Bookmarks