Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

[nrf noup] zephyr: Fix argument count for wpa_cli #133

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

krish2718
Copy link
Collaborator

fixup! [nrf noup] zephyr: Add support for WPA CLI zephyr

For wpa_cli command the argument count was off by 1 as we remove the command itself and pass rest of the arguments to the handler. This still works fine for most, but for "interface_add" it relies of argument count for preparing command over control interface and ends up setting a L2 bridge interface which is invalid and hence causing issues.

Fixes SHEL-2196.

fixup! [nrf noup] zephyr: Add support for WPA CLI zephyr

For wpa_cli command the argument count was off by 1 as we remove the
command itself and pass rest of the arguments to the handler. This still
works fine for most, but for "interface_add" it relies of argument count
for preparing command over control interface and ends up setting a L2
bridge interface which is invalid and hence causing issues.

Fixes SHEL-2196.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
@krish2718 krish2718 merged commit 21f8e7c into nrfconnect:main Nov 24, 2023
1 check passed
@krish2718 krish2718 deleted the fix_arg_count branch November 24, 2023 09:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants