Skip to content

Commit

Permalink
package/wpa_supplicant: wired driver needs headers >= 4.6
Browse files Browse the repository at this point in the history
Wired driver enables macsec support which depends on if_macsec.h.
That header has only been exported since kernel v4.6, see commit:
torvalds/linux@dece8d2

Fixes:
- http://autobuild.buildroot.net/results/6bb619eb7fdecf7824fcc549c4ccb8e487665d10/

Signed-off-by: Sergey Matyukevich <[email protected]>
Reviewed-by: Yegor Yefremov <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
  • Loading branch information
geomatsi authored and arnout committed May 14, 2022
1 parent d95a6da commit 4a1e3ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/wpa_supplicant/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,17 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WEXT
config BR2_PACKAGE_WPA_SUPPLICANT_WIRED
bool "Enable wired support"
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6
select BR2_PACKAGE_LIBNL
select BR2_PACKAGE_WPA_SUPPLICANT_EAP
help
Include the "wired" driver, so the internal IEEE 802.1x
supplicant can be used with Ethernet. This also enables
support for MACSEC.

comment "wired macsec support needs a toolchain w/ headers >= 4.6"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6

comment "wired support needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

Expand Down

0 comments on commit 4a1e3ff

Please sign in to comment.