Currently gap_connect_with_whitelist returns ERROR_CODE_COMMAND_DISALLOWED if already set.
Could we just return success if hci_stack->le_connecting_request == LE_CONNECTING_WHITELIST.
It would also be nice if there was a way to test if auto-connect is enabled already.