nl80211: Fix libnl-tiny build with CONFIG_LIBNL20=y

libnl-tiny does not use the separate nl-genl library.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2016-03-26 12:00:34 +02:00
parent 31afdd2274
commit 87faf1f22c
2 changed files with 6 additions and 2 deletions

View file

@ -63,7 +63,9 @@ else
endif
ifdef CONFIG_LIBNL20
ifndef CONFIG_LIBNL_TINY
DRV_LIBS += -lnl-genl
endif
DRV_CFLAGS += -DCONFIG_LIBNL20
endif
endif

View file

@ -51,7 +51,9 @@ else
endif
ifdef CONFIG_LIBNL20
ifndef CONFIG_LIBNL_TINY
DRV_LIBS += -lnl-genl
endif
DRV_CFLAGS += -DCONFIG_LIBNL20
endif
endif