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:
parent
44a5a7e170
commit
f27124dfc4
@ -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 */
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user