am 831423ea: Bluetooth: Fix to avoid NULL pointer dereferences

* commit '831423ea1879244e746f39d7696ad4a66681f306':
  Bluetooth: Fix to avoid NULL pointer dereferences