Hi Luiz, > This introduces mgmt_alloc_skb and mgmt_send_event_skb which are > convenient when building MGMT events that have variable length as the > likes of skb_put_data can be used to insert portion directly on the skb > instead of having to first build an intermediate buffer just to be > copied over the skb. > > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > --- > include/net/bluetooth/bluetooth.h | 6 +++ > net/bluetooth/mgmt_util.c | 66 +++++++++++++++++++++++-------- > net/bluetooth/mgmt_util.h | 4 ++ > 3 files changed, 59 insertions(+), 17 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel