wireless/bluetooth: Initialize private bt_driver_s member.

This commit is contained in:
Lwazi Dube
2023-04-26 16:28:13 -04:00
committed by Xiang Xiao
parent 78bff8e9c5
commit 0356d1403d
2 changed files with 10 additions and 2 deletions
+9 -1
View File
@@ -84,9 +84,17 @@ struct bt_driver_s
CODE int (*ioctl)(FAR struct bt_driver_s *btdev, int cmd,
unsigned long arg);
/* Filled by register function, shouldn't be touched by bt_driver_s */
/* For private use by device drivers.
* Should NOT be touched by the bluetooth stack.
*/
FAR void *priv;
/* Reserved for the bluetooth stack.
* Should NOT be touched by drivers.
*/
FAR void *bt_net;
};
/****************************************************************************