rangerz
13
Good idea!
Unless the modem is configured as a wireless STAtion, then I think not. There is no logic to do anything or test for anything other than the list of wireless APs, and overwrite the existing config with another.
Line 80 is where the existing wireless STA is set to disabled. It’s the point in the logic that it has been determined that there is no WWAN. You probably would want to connect to the 3g/4g modem here. Line 96 is where a found STAtion is reconfigured. You would probably want to turn off the modem there. The general logic tests for a functioning internet via ping. When a working internet is found APs are not tested, and there is no logic that would say there is a working STAtion that is now in range.
Fixing this is not in my skill set