mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	ble_mesh: nimble: return error if init host twice
This commit is contained in:
		@@ -88,7 +88,7 @@ int bt_mesh_host_init(void)
 | 
			
		||||
    int rc;
 | 
			
		||||
 | 
			
		||||
    if (init == true) {
 | 
			
		||||
        return 0;
 | 
			
		||||
        return -EALREADY;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    rc = btc_init();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user