|
@@ -1453,6 +1453,7 @@ static int hci_outgoing_auth_needed(struct hci_dev *hdev,
|
|
* is requested.
|
|
* is requested.
|
|
*/
|
|
*/
|
|
if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) &&
|
|
if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) &&
|
|
|
|
+ conn->pending_sec_level != BT_SECURITY_FIPS &&
|
|
conn->pending_sec_level != BT_SECURITY_HIGH &&
|
|
conn->pending_sec_level != BT_SECURITY_HIGH &&
|
|
conn->pending_sec_level != BT_SECURITY_MEDIUM)
|
|
conn->pending_sec_level != BT_SECURITY_MEDIUM)
|
|
return 0;
|
|
return 0;
|