Bluetooth: hci_le_adv_report_evt code refactoring
authorAndre Guedes <andre.guedes@openbossa.org>
Mon, 26 Sep 2011 23:48:35 +0000 (20:48 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 29 Sep 2011 18:25:08 +0000 (15:25 -0300)
commite95beb414168f8fcae195b5a77be29b3362d6904
tree87fc187b71c81699751ec3ca2451a46a309e1c09
parentb6f98044a6cbeba8234a3d433d715e9ef36880c4
Bluetooth: hci_le_adv_report_evt code refactoring

There is no reason to treat the first advertising entry differently
from the potential other ones. Besides, the current implementation
can easily leads to typos.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c