projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
493ea69
)
Bluetooth: hci_sync: Remove duplicate statement
author
Inga Stotland
<inga.stotland@intel.com>
Wed, 8 Mar 2023 18:32:35 +0000
(10:32 -0800)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 04:48:28 +0000
(21:48 -0700)
This removes the following duplicate statement in
hci_le_ext_directed_advertising_sync():
cp.own_addr_type = own_addr_type;
Signed-off-by: Inga Stotland <inga.stotland@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_sync.c
b/net/bluetooth/hci_sync.c
index
eb5fd2f
..
31231f0
100644
(file)
--- a/
net/bluetooth/hci_sync.c
+++ b/
net/bluetooth/hci_sync.c
@@
-5855,7
+5855,6
@@
static int hci_le_ext_directed_advertising_sync(struct hci_dev *hdev,
memset(&cp, 0, sizeof(cp));
cp.evt_properties = cpu_to_le16(LE_LEGACY_ADV_DIRECT_IND);
- cp.own_addr_type = own_addr_type;
cp.channel_map = hdev->le_adv_channel_map;
cp.tx_power = HCI_TX_POWER_INVALID;
cp.primary_phy = HCI_ADV_PHY_1M;