agerwick / RT28XX-RT539X-Linux-driver

2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO updated to work with Linux kernel 3.8 and above. Tested with Ubuntu 14.04 and 16.04
GNU General Public License v2.0
23 stars 9 forks source link

compile error: passing argument 3 of 'pci_read_config_word' from incompatible pointer type #8

Open yhzyhzyhz opened 7 years ago

yhzyhzyhz commented 7 years ago

I'm installing the driver on ubuntu gnome 16.04 LTS, when compile the driver I got this error.

jimyaghi commented 7 years ago

i too get this error

agerwick commented 7 years ago

I can't seem to reproduce this issue. Could you confirm that the installation instructions are followed exactly as written and maybe post the entire error message, including references to files. I'm not sure if I can help much as I don't have the same problem, but maybe someone else can.

agerwick commented 7 years ago

Thanks to @vancha this has been fixed with his merge request. Note that I cannot test this as I'm not getting the same error myself and I do not own this hardware any more, so I would appreciate if any of you who have the issue @yhzyhzyhz @jimyaghi could confirm if this works.

yhzyhzyhz commented 7 years ago

I end up to replace a intel wireless card. This error is actually a warning that treated as error by compiling options. I tried to disable this error and compiled installed successfully. But when I tried to enable the wifi, the system reports rfkill has hardware switch off, however my laptop does not even have any switch. I searched online, probably the problem is on hp-wmi driver. After replace the wireless card every thing works perfectly.

vancha commented 7 years ago

i have the same problem, only to fix it i have to put the laptop in standby mode. manually setting power options didn't work, planning on replacing my network card as well..