aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest
diff options
context:
space:
mode:
Diffstat (limited to 'wlantest')
-rw-r--r--wlantest/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wlantest/process.c b/wlantest/process.c
index f740a64..3b80974 100644
--- a/wlantest/process.c
+++ b/wlantest/process.c
@@ -228,6 +228,10 @@ void wlantest_process(struct wlantest *wt, const u8 *data, size_t len)
}
}
+ if (iter.max_length == 8) {
+ wpa_printf(MSG_DEBUG, "Skip frame inserted by wlantest");
+ return;
+ }
frame = data + iter.max_length;
frame_len = len - iter.max_length;