Improve resource usage #2

Closed
em wants to merge 1 commits from em:runtime into master
em commented 2 years ago
Collaborator

This optimized version makes use of the get_network command in wpa_cli to directly retrieve the network ID of the selected network. This eliminates the need for additional stream processing by avoiding grep and awk.

This optimized version makes use of the `get_network` command in `wpa_cli` to directly retrieve the network ID of the selected network. This eliminates the need for additional stream processing by avoiding `grep` and `awk`.
em added 1 commit 2 years ago
a3b254cc3e Improve resource usage
This optimized version makes use of the get_network command in wpa_cli to directly retrieve the network ID of the selected network. This eliminates the need for additional stream processing by avoiding grep and awk.
fr commented 2 years ago
Owner

This is not possible because get_network can only read values defined in wpa_supplicant.conf and id is not defined there. The only way to get network id is to parse list_networks output.
get_network also requires network_id, not ssid as the first argument.

This is not possible because `get_network` can only read values defined in `wpa_supplicant.conf` and `id` is not defined there. The only way to get network id is to parse `list_networks` output. `get_network` also requires `network_id`, not `ssid` as the first argument.
em closed this pull request 2 years ago
em deleted branch runtime 2 years ago
This pull request cannot be reopened because the branch was deleted.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b em-runtime master
git pull runtime

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff em-runtime
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fr/wpa_tui#2
Loading…
There is no content yet.