summaryrefslogtreecommitdiff
path: root/mac80211.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-08-04 19:30:18 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-08-05 10:54:52 +0200
commitc831bcda3e2638c55b286bd538415ea79f510cdb (patch)
treec1ef44e3beb40e51f30487faf81c6127ea6c77b9 /mac80211.c
parente6b7339a68ce57244117e2470f87ff581520cfc7 (diff)
trafgen: Allow to compile without libnl
trafgen uses libnl only to inject mac80211 frames but it might be not needed in some embedded or switch environments. Let's make it possible to disable this feature. In case the `--rfraw' option is used, the user will get a panic message. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'mac80211.c')
-rw-r--r--mac80211.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mac80211.c b/mac80211.c
index f22b600..9aea5a0 100644
--- a/mac80211.c
+++ b/mac80211.c
@@ -24,7 +24,6 @@
#include <netlink/msg.h>
#include <netlink/attr.h>
-#include "die.h"
#include "str.h"
#include "dev.h"
#include "mac80211.h"