From 82188163eb9fc0da75ec2a11f05414e197a11ba6 Mon Sep 17 00:00:00 2001 From: = <=> Date: Sun, 4 Feb 2024 13:56:02 +0100 Subject: [PATCH] handle phy0 --- hcxdumptool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hcxdumptool.c b/hcxdumptool.c index 3183acbc1..db03045b5 100644 --- a/hcxdumptool.c +++ b/hcxdumptool.c @@ -3991,7 +3991,8 @@ for(i = 0; i < INTERFACELIST_MAX -1; i++) ifpresentlistcounter++; } if(rt_get_interfacelist() == false) return false; -if(ifpresentlistcounter == 0) return false; + +if(ifpresentlist->index == 0) return false; qsort(ifpresentlist, ifpresentlistcounter, INTERFACELIST_SIZE, sort_interfacelist_by_index); return true; }