From 65dcab1c5bf5b309a043199d917c27a0cf15a20b Mon Sep 17 00:00:00 2001 From: Daniel Wegemer Date: Wed, 12 Oct 2016 09:37:36 +0200 Subject: [PATCH] fixes #9: missing struct declaration, thank @mingl0280 --- firmware_patching/monitor_mode/patch.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/firmware_patching/monitor_mode/patch.c b/firmware_patching/monitor_mode/patch.c index 486e16a6b..f997b9143 100644 --- a/firmware_patching/monitor_mode/patch.c +++ b/firmware_patching/monitor_mode/patch.c @@ -58,6 +58,13 @@ #include "d11.h" #include "brcm.h" +struct brcmf_proto_bcdc_header { + unsigned char flags; + unsigned char priority; + unsigned char flags2; + unsigned char data_offset; +}; + struct bdc_radiotap_header { struct brcmf_proto_bcdc_header bdc; struct ieee80211_radiotap_header radiotap;