Bluetooth: Refactor hci_auth_complete_evt function
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Tue, 31 May 2011 13:49:26 +0000 (15:49 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 8 Jun 2011 19:58:18 +0000 (16:58 -0300)
commitd7556e20ade582a223ca1792e1f8a7bfd7d5d008
tree7828fb0affae559586e74260c5265e0e15570c5f
parent19f8def031bfa50c579149b200bfeeb919727b27
Bluetooth: Refactor hci_auth_complete_evt function

Replace if(conn) with if(!conn) checking to avoid too many nested statements

Signed-off-by: Waldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c