From 9d3a06e55d253f7cf05551473dc965dafdbad2ab Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 2 Apr 2018 14:42:01 -0600 Subject: [PATCH] include/nuttx/wireless: Remove const from some members of IOCTL structures. The const makes it awkward to initialize the structure. --- include/nuttx/wireless/bt_ioctl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nuttx/wireless/bt_ioctl.h b/include/nuttx/wireless/bt_ioctl.h index f468e143130..c152d0e9b28 100644 --- a/include/nuttx/wireless/bt_ioctl.h +++ b/include/nuttx/wireless/bt_ioctl.h @@ -242,8 +242,8 @@ struct bt_advertisestart_s { char as_name[HCI_DEVNAME_SIZE]; /* Device name */ uint8_t as_type; /* Advertising type */ - FAR const struct bt_eir_s as_ad; /* Data for advertisement packets */ - FAR const struct bt_eir_s as_sd; /* Data for scan response packets */ + FAR struct bt_eir_s as_ad; /* Data for advertisement packets */ + FAR struct bt_eir_s as_sd; /* Data for scan response packets */ }; /* The read-only data that accompanies the SIOCBT_SCANSTOP IOCTL command */