Bluetooth: Prevent race condition when authorizing

Change-Id: Ic875fd619afea5fd36ce9b2f71a91d2d68dbb578
Merge with rockchip sdk patches

Change-Id: Icc356853f4105ec42bb261276e3e25b373d219dd