[2/2] Bluetooth: Security: Handle authentication rejected error status

Handle error codes in authentication complete event with failures
like reject pairing , unspecified error.

Change-Id: I392b7531a8625efbf91bf80f7f617a6954229892
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c
index 6da71e9..4d8c8b7 100644
--- a/btif/src/btif_dm.c
+++ b/btif/src/btif_dm.c
@@ -894,6 +894,10 @@
                 status =  BT_STATUS_RMT_DEV_DOWN;
                 break;
 
+            case HCI_ERR_PAIRING_NOT_ALLOWED:
+                status = BT_STATUS_AUTH_REJECTED;
+                break;
+
             /* map the auth failure codes, so we can retry pairing if necessary */
             case HCI_ERR_AUTH_FAILURE:
             case HCI_ERR_KEY_MISSING: