Skip to content

Commit

Permalink
net: wifi: shell: fix 11k neighbor request cannot specify ssid
Browse files Browse the repository at this point in the history
Fix the issue of sending neighbor report request failing
when specifying ssid.

Signed-off-by: Gang Li <[email protected]>
  • Loading branch information
gangli02 committed Jan 10, 2025
1 parent 4e61362 commit 2f83a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/net/l2/wifi/wifi_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ static int cmd_wifi_11k_neighbor_request(const struct shell *sh, size_t argc, ch

context.sh = sh;

if ((argc != 1 && argc != 3) || (argc == 3 && !strncasecmp("ssid", argv[1], 4))) {
if ((argc != 1 && argc != 3) || (argc == 3 && strncasecmp("ssid", argv[1], 4))) {
PR_WARNING("Invalid input arguments\n");
PR_WARNING("Usage: %s\n", argv[0]);
PR_WARNING("or %s ssid <ssid>\n", argv[0]);
Expand Down

0 comments on commit 2f83a14

Please sign in to comment.