Skip to content
  • Adrian Schmutzler's avatar
    configurehood: Improve conditions for configap setup · 5c1d3b1f
    Adrian Schmutzler authored
    
    
    This addresses a bunch of issues:
    - Previously, only the presence of w2configap was checked. With
      only 5 GHz, this would have caused a recreation every 5 min.
      (Note that this is only valid for a 5 GHz only device, as we
      always create all interfaces for disabled radios)
    - The two outer if-statements are merged
    - We now check for presence of wXmesh to enable wXconfigap. Although
      this is no necessity (as the hood file contains the whole config)
      this assumes that a disabled wXmesh means no intent of the owner
      to connect to other devices on this radio.
    - With the dependency of wXconfigap from wXmesh, this patch now
      enables the deactivation of hood file transmitting by disabling
      meshing in the hood file
    
    Signed-off-by: default avatarAdrian Schmutzler <[email protected]>
    Reviewed-by: default avatarChristian Dresel <[email protected]>
    Reviewed-by: default avatarTim Niemeyer <[email protected]>
    5c1d3b1f
Loading