Craig McQueen
2015-10-30 01:28:37 UTC
Consider this pre-condition:
* ConnMan is configured for Wi-Fi enabled and tethered.
* USB Wi-Fi device is not plugged in.
* Linux rfkill softblock is enabled for wlan.
Now, consider this scenario:
* ConnMan was not running.
* USB Wi-Fi device is plugged in.
* ConnMan is started.
In that scenario, ConnMan detects the Wi-Fi technology, enables it, turns off the rfkill softblock for wlan, and starts tethering. Good!
Now consider this alternative scenario:
* ConnMan is running.
* USB Wi-Fi device is plugged in.
In this scenario, ConnMan detects the Wi-Fi technology, but doesn't enable it because of the rfkill softblock for wlan.
In this second scenario, I would wish for ConnMan to turn off the rfkill softblock for wlan (since it is configured for Wi-Fi enabled and tethered), and start tethering. What code change would be needed to achieve that?
* ConnMan is configured for Wi-Fi enabled and tethered.
* USB Wi-Fi device is not plugged in.
* Linux rfkill softblock is enabled for wlan.
Now, consider this scenario:
* ConnMan was not running.
* USB Wi-Fi device is plugged in.
* ConnMan is started.
In that scenario, ConnMan detects the Wi-Fi technology, enables it, turns off the rfkill softblock for wlan, and starts tethering. Good!
Now consider this alternative scenario:
* ConnMan is running.
* USB Wi-Fi device is plugged in.
In this scenario, ConnMan detects the Wi-Fi technology, but doesn't enable it because of the rfkill softblock for wlan.
In this second scenario, I would wish for ConnMan to turn off the rfkill softblock for wlan (since it is configured for Wi-Fi enabled and tethered), and start tethering. What code change would be needed to achieve that?
--
Craig McQueen
Craig McQueen