Bluetooth: Refactor hci_auth_complete_evt function
authorWaldemar Rymarkiewicz <waldemar.rymarkiewicz@tieto.com>
Tue, 31 May 2011 13:49:26 +0000 (15:49 +0200)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:10:20 +0000 (12:10 -0800)
commit0b1b86c4aa9e0345e8de2a2b2ced8d2f3d7fa74b
tree4d5ee448db89b3bc2e8743f540d80852f965de63
parent7759238dbe2c337eae19718b3a4ccc1da9d8bf0a
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