xiaoxiang781216 commented on a change in pull request #1070:
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/1070#discussion_r826530178



##########
File path: wireless/wapi/src/wapi.c
##########
@@ -708,14 +708,14 @@ static int wapi_scan_results_cmd(int sock, int argc, FAR 
char **argv)
 
   /* Print found aps */
 
-  printf("bssid / frequency / signal level / ssid\n");
+  printf("bssid / frequency / signal level / encode / ssid\n");
   for (info = list.head.scan; info; info = info->next)
     {
-      printf("%02x:%02x:%02x:%02x:%02x:%02x\t%g\t%d\t%s\n",
-             info->ap.ether_addr_octet[0], info->ap.ether_addr_octet[1],
-             info->ap.ether_addr_octet[2], info->ap.ether_addr_octet[3],
-             info->ap.ether_addr_octet[4],  info->ap.ether_addr_octet[5],
-             info->freq, info->rssi, info->essid);
+      printf("%02x:%02x:%02x:%02x:%02x:%02x\t%g\t%d\t%04x\t%s\n",
+            info->ap.ether_addr_octet[0], info->ap.ether_addr_octet[1],
+            info->ap.ether_addr_octet[2], info->ap.ether_addr_octet[3],
+            info->ap.ether_addr_octet[4], info->ap.ether_addr_octet[5],
+            info->freq, info->rssi, info->encode, info->essid);

Review comment:
       why change the alignment? the old code look right.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to