From 5888318736f66758610f626ee22c26648c733940 Mon Sep 17 00:00:00 2001 From: Matias N Date: Sat, 25 Jul 2020 21:52:06 -0300 Subject: [PATCH] bt_ioctl.c: fix copy paste error (incorrect parameter passed to function) --- wireless/bluetooth/bt_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireless/bluetooth/bt_ioctl.c b/wireless/bluetooth/bt_ioctl.c index a4e1f9f300..ff59932e80 100644 --- a/wireless/bluetooth/bt_ioctl.c +++ b/wireless/bluetooth/bt_ioctl.c @@ -600,7 +600,7 @@ int btnet_ioctl(FAR struct net_driver_s *netdev, int cmd, unsigned long arg) { ret = bt_start_advertising(btreq->btr_advtype, btreq->btr_advad, - btreq->btr_advad); + btreq->btr_advsd); wlinfo("Start advertising: %d\n", ret); } break;