Bluetooth: Allow for NULL data in mgmt_pending_add
authorSzymon Janc <szymon.janc@tieto.com>
Tue, 22 Mar 2011 12:12:20 +0000 (13:12 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 31 Mar 2011 17:22:57 +0000 (14:22 -0300)
commit8fce6357a9e72c4c9c846f9951895954bfb34ad1
treee748707ede664b0fce23b762de370fdc3c51fe3f
parentc68fb7ff29622a7db8264f939f94e37330c27080
Bluetooth: Allow for NULL data in mgmt_pending_add

Since index is in mgmt_hdr it is possible to have mgmt command with
no parameters that still needs to add itself to pending list.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c