summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iwinfo_utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/iwinfo_utils.c b/iwinfo_utils.c
index ecd1dff..d96cbb3 100644
--- a/iwinfo_utils.c
+++ b/iwinfo_utils.c
@@ -280,6 +280,9 @@ struct iwinfo_hardware_entry * iwinfo_hardware(struct iwinfo_hardware_id *id)
while (fgets(buf, sizeof(buf) - 1, db) != NULL)
{
+ if (buf[0] == '#')
+ continue;
+
memset(&e, 0, sizeof(e));
if (sscanf(buf, "%hx %hx %hx %hx %hd %hd \"%63[^\"]\" \"%63[^\"]\"",