driver_nl80211 does not compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wanted to update the OpenWrt hostapd version to the newest git version. I encountered following error:

  ../src/drivers/driver_nl80211.c: In function 'get_sta_handler':
  ../src/drivers/driver_nl80211.c:7474:63: error: 'NLA_S8' undeclared (first use in this function); did you mean 'NLA_U8'?    7474 |                 [NL80211_STA_INFO_ACK_SIGNAL_AVG] = { .type = NLA_S8 },
| ^~~~~~
| NLA_U8
  ../src/drivers/driver_nl80211.c:7474:63: note: each undeclared identifier is reported only once for each function it appears in   ../src/drivers/driver_nl80211.c:7580:25: warning: implicit declaration of function 'nla_get_s8'; did you mean 'nla_get_u8'? [-Wimplicit-function-declaration]
   7580 | nla_get_s8(stats[NL80211_STA_INFO_ACK_SIGNAL_AVG]);
        |                         ^~~~~~~~~~
        |                         nla_get_u8
As a workaround I removed the corresponding lines, however, this is not an acceptable solution:
https://github.com/openwrt/openwrt/blob/656eac04092bddf226f49dc81b3b4b9582e609d2/package/network/services/hostapd/patches/180-nl80211-fix-compiling.patch
Is there a proper fix available?

Bests
Nick


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux