mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
wifi-diag: Fix rate decoding, fix perl include path.
The regex needed tweaking for Fedora-32 (and/or possibly just HE frames). Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
@@ -167,7 +167,7 @@ sub append {
|
||||
$self->{payload_type} = $1;
|
||||
}
|
||||
elsif (($ln =~ /^\s+\[Data Rate: (.*)\]/) ||
|
||||
($ln =~ /^\s*Data Rate: (.*)/)) {
|
||||
($ln =~ /^\s*Data [rR]ate: (.*)/)) {
|
||||
my $dr = $1;
|
||||
if ($dr =~ /(\S+) Mb/) {
|
||||
$self->{datarate} = $1;
|
||||
|
||||
Reference in New Issue
Block a user