1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2025-07-10 19:17:40 +02:00

Merge pull request #1764 from juliovegap/master

Bug #1762
This commit is contained in:
Bill Zimmerman 2025-02-19 08:47:52 +01:00 committed by GitHub
commit 71ed223cf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ class IwParser
"(no IR)"
];
$excluded_pattern = implode('|', array_map('preg_quote', $excluded));
$pattern = '/\*\s+(\d+)\s+MHz \[(\d+)\] \(([\d.]+) dBm\)\s(?!' .$excluded_pattern. ')/';
$pattern = '/\*\s+([\d.]+)\s+MHz \[(\d+)\] \(([\d.]+) dBm\)\s(?!' .$excluded_pattern. ')/';
$supportedFrequencies = [];
// Match iw_output containing supported frequencies