aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error on latest v5.6.4.2

SijmenHuizenga opened this issue · comments

commented

No problem in ca797e1, the following error when using 60222a5:

In file included from /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/include/drv_types.h:37,
                 from /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_io.c:47:
/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/include/drv_types_linux.h: In function ‘eth_hw_addr_set’:
/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/include/drv_types_linux.h:22:42: error: expected ‘;’ before ‘}’ token
   22 |     memcpy(dev->dev_addr, addr, ETH_ALEN)
      |                                          ^

Probably here missing a semicolon?

memcpy(dev->dev_addr, addr, ETH_ALEN)

my bad!