bbf: Fix Device.WiFi.NeighboringWiFiDiagnostic
Two issues related to Device.WiFi.NeighboringWiFiDiagnostic command are fixed in this patch:
-
Command was not showing any scan results Root cause: ubus method "scanresults" alone no more provides wifi scan results. It has to be now accompanied with ubus method "scan"
-
With fixing the first issue, command was only showing results for only one of the radios: Root cause: Loop to fill wireless scan results for multiple radios was not handled properly.