Developing lightweight computation at the DSG edge

  • Roger Pueyo Centelles's avatar
    [qmp-system] Detect non-wireless interfaces instead of wireless ones · a5b598a7
    Roger Pueyo Centelles authored
    
    
    Certain combinations of wireless drivers (e.g., ath10k, mt7615) and
    wireless modes (e.g., adhoc, 80211s) end up with the radio interfaces
    not being risen up and not appearing in /sys/class/net/. Therefore, they
    are never detected as wireless interfaces and, upon reconfiguration,
    they are treated as wired ones, leading to wrong settings in
    /etc/config/network. To avoid this behaviour, wireless interfaces are
    now tested for *not* being "non-wireless.
    
    Fixes #473
    Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
    a5b598a7
qmp_network.sh 16.5 KB