mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-13 01:20:24 +02:00
iw_scan: Improve detection of lines starting with spaces
This commit is contained in:
@ -109,6 +109,7 @@ Examples:
|
||||
...
|
||||
]
|
||||
"""
|
||||
import re
|
||||
import jc.utils
|
||||
|
||||
|
||||
@ -310,7 +311,7 @@ def parse(data, raw=False, quiet=False):
|
||||
|
||||
continue
|
||||
|
||||
if line.startswith(' '):
|
||||
if re.match(r"^\s+.+", line):
|
||||
# ignore problematic lines
|
||||
if 'Maximum RX AMPDU length' in line:
|
||||
continue
|
||||
|
Reference in New Issue
Block a user