[OnePlus 5T  ROMs, Kernels, Recoveries, & Other Dev] thilina01:
wifi hotspot doesn't work in the latest build (20190616)

wifi hotspot doesn't work in the latest build (AOSiP-9.0-DerpFest-dumpling-20190616-231910)

Tried reflashing, format /system and flash.

did not try a clean flash

hope this log will help

06-20 08:51:32.227 2499 2657 I ConnectivityManager: startTethering caller:com.android.systemui

06-20 08:51:32.229 1320 7382 I WifiService: startSoftAp uid=1000

06-20 08:51:32.229 1320 2147 D WifiStateMachinePrime: Starting SoftApModeManager

06-20 08:51:32.238 800 800 D WifiHAL : wifi_add_or_remove_virtual_intf: ifname=wlan1 create=1

06-20 08:51:32.239 800 800 I android.hardware.wifi@1.0-service: Adding interface handle for wlan0

06-20 08:51:32.239 800 800 I android.hardware.wifi@1.0-service: Adding interface handle for p2p0

06-20 08:51:32.249 1320 2157 D WifiP2pNative: P2P InterfaceAvailableListener false

06-20 08:51:32.249 1320 2157 D WifiP2pService: Wifi enabled=false, P2P Interface availability=false

06-20 08:51:32.250 1320 2147 D WificondControl: Setting up interface for soft ap mode

06-20 08:51:32.251 947 947 E wificond: No usable interface found

06-20 08:51:32.251 1320 2147 E WificondControl: Could not get IApInterface instance from wificond

06-20 08:51:32.251 1320 2147 E WifiNative: Failed to setup iface in wificond on Iface:{Name=wlan1,Id=5,Type=AP}

06-20 08:51:32.255 800 800 D WifiHAL : wifi_add_or_remove_virtual_intf: ifname=wlan1 create=0

06-20 08:51:32.255 800 800 E WifiHAL : error_handler_wifi_config: Error code:-19 (No such device)

06-20 08:51:32.255 800 800 E WifiHAL : wifi_add_or_remove_virtual_intf: requestEvent Error:-1

06-20 08:51:32.255 800 800 E android.hardware.wifi@1.0-service: Failed to remove interface: wlan1 UNKNOWN

06-20 08:51:32.256 1320 2147 E WifiNative: Failed to unregister network observer on Iface:{Name=wlan1,Id=5,Type=AP}

06-20 08:51:32.256 1320 2147 E HostapdHal: Can't call removeAccessPoint, IHostapd is null

06-20 08:51:32.256 1320 2147 E WifiNative: Failed to remove access point on Iface:{Name=wlan1,Id=5,Type=AP}

06-20 08:51:32.256 1320 2147 E HostapdHal: No Death handler present

06-20 08:51:32.256 1320 2147 E WificondControl: No valid ap interface handler

06-20 08:51:32.256 1320 2147 E WifiNative: Failed to stop hostapd on Iface:{Name=wlan1,Id=5,Type=AP}

06-20 08:51:32.256 1320 2147 E WificondControl: No valid wificond ap interface handler

06-20 08:51:32.256 1320 2147 E WifiNative: Failed to teardown iface in wificond on Iface:{Name=wlan1,Id=5,Type=AP}

06-20 08:51:32.256 1320 2147 I WifiNative: Successfully torn down Iface:{Name=wlan1,Id=5,Type=AP}

06-20 08:51:32.260 1320 2147 I WifiNative: Successfully initiated teardown for iface=wlan1

06-20 08:51:32.260 1320 2157 D WifiP2pNative: P2P InterfaceAvailableListener true

06-20 08:51:32.260 1320 2147 E SoftApManager: setup failure when creating ap interface.

06-20 08:51:32.260 1320 2157 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true, Number of clients=0

06-20 08:51:32.260 1320 2157 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true

06-20 08:51:32.260 2499 2510 V WifiManager: SoftApCallbackProxy: onStateChanged: state=14, failureReason=0

06-20 08:51:32.261 2499 2499 I ConnectivityManager: stopTethering caller:com.android.systemui

06-20 08:51:32.261 1320 1331 I WifiService: stopSoftAp uid=1000

06-20 08:51:32.263 1320 1320 E WifiController: SoftAP start failed

06-20 08:51:32.263 1320 1350 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.net.wifi.WIFI_AP_STATE_CHANGED flg=0x4000010 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver

06-20 08:51:32.263 1320 1320 D WifiService: handleWifiApStateChange: currentState=14 previousState=11 errorCode= 0 ifaceName=null mode=1

06-20 08:51:32.263 1320 1320 D WifiService: updateInterfaceIpState: ifaceName=null mode=-1 previous mode= -1

a bit long log is here