While scanning for the networks in windows, initially there is a slicing from 5th index which leads to the omitting of first row depicting the ssid of the network.
Have changed the slicing from 4th index, so that all the network information be preserved and assigned correctly.
After the change, have tried to scan for the networks, and can see all the information for every network is been listed correctly.
Also tried to connect and disconnect with the selected network, which works as expected.
Types of changes
[x ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Refactorization (non-functional change which improve code readibility)
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
While scanning for the networks in windows, initially there is a slicing from 5th index which leads to the omitting of first row depicting the ssid of the network. Have changed the slicing from 4th index, so that all the network information be preserved and assigned correctly.
Motivation and Context
This change is required as to get the correct information of the first network been captured and utilized. https://github.com/friedrith/node-wifi/issues/137
Usage examples
How Has This Been Tested?
After the change, have tried to scan for the networks, and can see all the information for every network is been listed correctly. Also tried to connect and disconnect with the selected network, which works as expected.
Types of changes