include/nuttx/wireless: Remove bogus name from structure. This was left over from a previous change and had me confused for awhile.

This commit is contained in:
Gregory Nutt 2018-04-19 09:14:48 -06:00
parent 44a5a7e170
commit f27124dfc4
2 changed files with 1 additions and 6 deletions

View File

@ -217,7 +217,6 @@
struct bt_scanresponse_s
{
char sr_name[HCI_DEVNAME_SIZE]; /* Device name */
bt_addr_le_t sr_addr; /* Advertiser LE address and type */
int8_t sr_rssi; /* Strength of advertiser signal */
uint8_t sr_type; /* Type of advertising response */

View File

@ -201,11 +201,7 @@ static int btnet_scan_result(FAR struct bt_scanresponse_s *result,
uint8_t nrsp;
int ret;
if (!g_scanstate.bs_scanning)
{
wlerr("ERROR: Results received while not scanning\n");
return -EPIPE;
}
wlinfo("Scanning? %s\n", g_scanstate.bs_scanning ? "YES" : "NO");
/* Get exclusive access to the scan data */