Skip to content
Commit 088fc633 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Marcel Holtmann
Browse files

Bluetooth: hci_nokia: Save a few cycles in 'nokia_enqueue()'



'skb_pad()' a few lines above already initializes the "padded" byte to 0.
So there is no need to do it twice.

All what is needed is to increase the len of the skb. So 'skb_put(..., 1)'
is enough here.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 75f7293a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment