
hotspot mode is not well represented with the WifiState stuff. It can be active when the WifiState is DISABLED or UNKNOWN. Also, when switching from active wifi to hotspot mode, WIFI_STATE_DISABLING broadcasts will be sent, but WIFI_STATE_DISABLED/WIFI_STATE_UNKNOWN will not.