mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
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:
@@ -217,7 +217,6 @@
|
|||||||
|
|
||||||
struct bt_scanresponse_s
|
struct bt_scanresponse_s
|
||||||
{
|
{
|
||||||
char sr_name[HCI_DEVNAME_SIZE]; /* Device name */
|
|
||||||
bt_addr_le_t sr_addr; /* Advertiser LE address and type */
|
bt_addr_le_t sr_addr; /* Advertiser LE address and type */
|
||||||
int8_t sr_rssi; /* Strength of advertiser signal */
|
int8_t sr_rssi; /* Strength of advertiser signal */
|
||||||
uint8_t sr_type; /* Type of advertising response */
|
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;
|
uint8_t nrsp;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (!g_scanstate.bs_scanning)
|
wlinfo("Scanning? %s\n", g_scanstate.bs_scanning ? "YES" : "NO");
|
||||||
{
|
|
||||||
wlerr("ERROR: Results received while not scanning\n");
|
|
||||||
return -EPIPE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Get exclusive access to the scan data */
|
/* Get exclusive access to the scan data */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user