quick fix to greatly reduce false positives in kismet

This commit is contained in:
Mike Ossmann
2012-02-24 16:44:58 +00:00
parent 649e7315d7
commit dde78a8dc3
2 changed files with 2 additions and 2 deletions
@@ -231,7 +231,7 @@ void *ubertooth_cap_thread(void *arg)
% NUM_BANKS][k];
ac = sniff_ac(syms, BANK_LEN);
if (ac.offset > -1) {
if ((ac.offset > -1) && (ac.error_count <= 2)) {
/*
* Populate syms with the remaining banks. We don't know how
* long the packet is, so we assume the maximum length.
@@ -235,7 +235,7 @@ void *ubertooth_cap_thread(void *arg)
% NUM_BANKS][k];
ac = sniff_ac(syms, BANK_LEN);
if (ac.offset > -1) {
if ((ac.offset > -1) && (ac.error_count <= 2)) {
/*
* Populate syms with the remaining banks. We don't know how
* long the packet is, so we assume the maximum length.