[Galaxy A3, A5, A7, A8, A9 Original Android Develop] alexax66:
logcat with this bug:

01-20 02:04:25.627 2637 2753 D WifiActiveModeWarden: Starting SoftApModeManager
01-20 02:04:25.629 2637 2753 I android_os_HwBinder: HwBinder: Starting thread pool for getting: android.hardware.wifi@1.0::IWifi/default
01-20 02:04:25.632 2418 2418 W libc : Unable to set property "wifi.active.interface" to "": error code: 0x18
01-20 02:04:25.632 2418 2418 E android.hardware.wifi@1.0-service: Failed to set active wlan iface name property: Success
01-20 02:04:25.632 2418 2418 I android.hardware.wifi@1.0-service: Wifi HAL started
01-20 02:04:25.632 2637 2753 I WifiVendorHal: Vendor Hal started successfully
01-20 02:04:25.633 2276 2276 I hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.hostapd@1.0::IHostapd/default in either framework or device manifest.
01-20 02:04:25.635 2637 2753 D HostapdHal: Successfully triggered start of hostapd using HIDL
01-20 02:04:25.635 2637 2754 I WifiP2pNative: Registering for interface available listener
01-20 02:04:25.639 2637 2754 I WifiP2pNative: Registering for interface available listener
01-20 02:04:25.639 2637 2754 D WifiP2pNative: P2P InterfaceAvailableListener true
01-20 02:04:25.640 2637 2754 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true, Number of clients=0
01-20 02:04:25.640 2637 2754 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
01-20 02:04:25.691 6430 6430 I hostapd : Processing hidl events on FD 3
01-20 02:04:25.693 2276 2276 I hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.hostapd@1.0::IHostapd/default in either framework or device manifest.
01-20 02:04:25.694 2637 6428 I android_os_HwBinder: HwBinder: Starting thread pool for getting: android.hardware.wifi.hostapd@1.0::IHostapd/default
01-20 02:04:25.695 2276 2276 I hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.hostapd@1.1::IHostapd/default in either framework or device manifest.
01-20 02:04:25.695 2637 6428 I HostapdHal: Completed initialization of IHostapd.
01-20 02:04:26.255 2637 2655 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: true
01-20 02:04:26.260 2418 2418 I WifiHAL : Initializing wifi
01-20 02:04:26.260 2418 2418 I WifiHAL : Creating socket
01-20 02:04:26.266 2418 2418 I WifiHAL : Initialized Wifi HAL Successfully; vendor cmd = 103
01-20 02:04:26.267 2418 2418 I android.hardware.wifi@1.0-service: Adding interface handle for p2p0
01-20 02:04:26.267 2418 2418 I android.hardware.wifi@1.0-service: Adding interface handle for wlan0
01-20 02:04:26.267 2418 2418 W android.hardware.wifi@1.0-service: No active wlan interfaces in use! Using default
01-20 02:04:26.267 2418 2418 E android.hardware.wifi@1.0-service: Failed to register radio mode change callback
01-20 02:04:26.267 2418 2418 W android.hardware.wifi@1.0-service: No active wlan interfaces in use! Using default
01-20 02:04:26.267 2418 2418 E WifiHAL : Failed to register debug response; result = -95
01-20 02:04:26.267 2418 2418 E android.hardware.wifi@1.0-service: Failed to get driver version: SUCCESS
01-20 02:04:26.268 2418 2418 I android.hardware.wifi@1.0-service: Configured chip in mode 1
01-20 02:04:26.268 2418 2418 W android.hardware.wifi@1.0-service: No active wlan interfaces in use! Using default
01-20 02:04:26.271 2418 2418 W libc : Unable to set property "wifi.active.interface" to "wlan0": error code: 0x18
01-20 02:04:26.272 2418 2418 E android.hardware.wifi@1.0-service: Failed to set active wlan iface name property: Success
01-20 02:04:26.272 2637 2753 D HalDevMgr: updateRttController: no one is interested in RTT controllers
01-20 02:04:26.273 2418 2418 I android.hardware.wifi@1.0-service: AP MAC randomization enabled
01-20 02:04:26.959 2637 2655 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
01-20 02:04:26.961 2637 2655 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
01-20 02:04:27.487 2637 2655 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: true
01-20 02:04:27.489 2418 2418 W libc : Unable to set property "wifi.active.interface" to "wlan0": error code: 0x18
01-20 02:04:27.489 2418 2418 E android.hardware.wifi@1.0-service: Failed to set active wlan iface name property: Success
01-20 02:04:27.497 2637 2754 D WifiP2pNative: P2P InterfaceAvailableListener false
01-20 02:04:27.497 2637 2754 D WifiP2pService: Wifi enabled=false, P2P Interface availability=false
01-20 02:04:27.500 2637 2753 D WificondControl: Setting up interface for soft ap mode
01-20 02:04:27.503 2402 2402 I netd : interfaceGetCfg("wlan0") <0.54ms>
01-20 02:04:27.504 2637 2753 I WifiNative: Interface state changed on Iface:{Name=wlan0,Id=4,Type=AP}, isUp=true
01-20 02:04:27.504 2637 2753 I WifiNative: Successfully setup Iface:{Name=wlan0,Id=4,Type=AP}
01-20 02:04:27.505 2276 2276 I hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.supplicant@1.2::ISupplicant/default in either framework or device manifest.
01-20 02:04:27.505 2637 2753 E SupplicantStaIfaceHal: Method getKeyMgmtCapabilities is not supported in existing HAL
01-20 02:04:27.506 2418 2418 E WifiHAL : Failed to register debug response; result = -95
01-20 02:04:27.511 2637 2637 D WifiService: handleWifiApStateChange: currentState=12 previousState=11 errorCode= -1 ifaceName=wlan0 mode=1
01-20 02:04:27.533 2476 2476 W wificond: Failed to get NL80211_ATTR_EXT_FEATURES
01-20 02:04:27.536 2276 2276 I hwservicemanager: getTransport: Cannot find entry android.hardware.wifi.hostapd@1.1::IHostapd/default in either framework or device manifest.
01-20 02:04:27.537 2637 2753 E HostapdHal: IHostapd.addAccessPoint failed: 1,
01-20 02:04:27.537 2637 2753 E WifiNative: Failed to add acccess point
01-20 02:04:27.537 2637 2753 E SoftApManager: Soft AP start failed
01-20 02:04:27.538 2800 2800 I ConnectivityManager: stopTethering caller:com.android.systemui
01-20 02:04:27.539 2637 2637 D WifiService: handleWifiApStateChange: currentState=14 previousState=12 errorCode= 0 ifaceName=wlan0 mode=1
01-20 02:04:27.539 2637 2753 W WifiDiags: ifaceName: wlan0 is not in the start log user list
01-20 02:04:27.539 2637 2637 D WifiService: updateInterfaceIpState: ifaceName=null mode=-1 previous mode= -1
01-20 02:04:27.539 2637 2637 E WifiController: SoftAP start failed
01-20 02:04:27.539 2637 5326 I WifiService: stopSoftAp uid=1000
01-20 02:04:27.540 2637 2657 I Tethering: [EntitlementManager] removeDownstreamMapping: 0
01-20 02:04:27.542 2418 2418 W android.hardware.wifi@1.0-service: No active wlan interfaces in use! Using default
01-20 02:04:27.544 2418 2418 W libc : Unable to set property "wifi.active.interface" to "wlan0": error code: 0x18
01-20 02:04:27.544 2418 2418 E android.hardware.wifi@1.0-service: Failed to set active wlan iface name property: Success
01-20 02:04:27.545 6430 6430 E hostapd : Removing interface wlan0 failed
01-20 02:04:27.545 2637 2753 E HostapdHal: IHostapd.removeAccessPoint failed: 1,
01-20 02:04:27.546 2637 2753 E WifiNative: Failed to remove access point on Iface:{Name=wlan0,Id=4,Type=AP}
01-20 02:04:28.199 2637 2655 I EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
01-20 02:04:28.200 6430 6430 I hostapd : Terminating...
01-20 02:04:28.200 6430 6430 W hw-IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
01-20 02:04:28.200 6430 6430 W hw-IPCThreadState: Calling IPCThreadState::self() during shutdown is dangerous, expect a crash.
01-20 02:04:28.250 2637 2753 W HostapdHal: Timed out waiting for confirmation of hostapd death
01-20 02:04:28.250 2637 2753 D WificondControl: tearing down interfaces in wificond
01-20 02:04:28.253 2418 2418 W libc : Unable to set property "wifi.active.interface" to "": error code: 0x18
01-20 02:04:28.254 2418 6432 E WifiHAL : wifi_event_loop: Read after POLL returned 4, error no = 0 (Success)
01-20 02:04:28.254 2418 6432 D WifiHAL : Got a signal to exit!!!
01-20 02:04:28.254 2418 6432 I WifiHAL : Exit wifi_event_loop
01-20 02:04:28.254 2418 2418 E WifiHAL : wifi_cleanup: Read after POLL returned 4, error no = 0 (Success)
01-20 02:04:28.254 2418 2418 E WifiHAL : Event processing terminated
01-20 02:04:28.254 2418 2418 E android.hardware.wifi@1.0-service: Failed to set active wlan iface name property: Success
01-20 02:04:28.254 2418 2418 I android.hardware.wifi@1.0-service: Legacy HAL stop complete callback received
01-20 02:04:28.255 2418 2418 I WifiHAL : Internal cleanup completed
01-20 02:04:28.258 2637 2673 D HostapdHal: IHostapd died: cookie=-4625717533501100423
01-20 02:04:28.259 2418 2418 I android.hardware.wifi@1.0-service: Wifi HAL stopped
01-20 02:04:28.260 2637 2753 I WifiVendorHal: Vendor Hal stopped
01-20 02:04:28.260 2637 2753 I WifiNative: Successfully torn down Iface:{Name=wlan0,Id=4,Type=AP}
01-20 02:04:28.260 2637 2753 E HalDevMgr: getAllChipInfo: called but mWifi is null!?
01-20 02:04:28.260 2637 2753 E HalDevMgr: dispatchAvailableForRequestListeners: no chip info found
01-20 02:04:28.260 2637 2753 W HalDevMgr: stopWifi called but mWifi is null!?
01-20 02:04:28.260 2637 2753 I WifiNative: Successfully initiated teardown for iface=wlan0
01-20 02:04:28.260 2637 2753 D SoftApManager: Soft AP is stopped
01-20 02:04:28.260 2637 2754 W HalDevMgr: isWifiStarted called but mWifi is null!?
01-20 02:04:28.261 2637 2753 E WifiNative: Could not get Iface object for interface null
01-20 02:04:28.261 2637 2753 W HalDevMgr: isWifiStarted called but mWifi is null!?
01-20 02:04:28.261 2637 2753 W HalDevMgr: isWifiStarted called but mWifi is null!?
01-20 02:04:28.269 2637 2753 W HostapdHal: IHostapd/IHostapd died: cookie=4
01-20 02:04:28.269 2637 2753 W HalDevMgr: isWifiStarted called but mWifi is null!?