net: wifi: shell: fix 11k neighbor request cannot specify ssid
Fix the issue of sending neighbor report request failing when specifying ssid. Signed-off-by: Gang Li <gang.li_1@nxp.com>
This commit is contained in:
parent
227f04a0ea
commit
50bcb122e8
1 changed files with 1 additions and 1 deletions
|
@ -1355,7 +1355,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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue