Skip to content
  • Thomas Haller's avatar
    platform: simplify NMEthtoolCoalesceState to only track one state · 12063d6c
    Thomas Haller authored and Antonio Cardace's avatar Antonio Cardace committed
    Only in one moment we need the old and requested settings together:
    during _ethtool_coalesce_set(). But for that we shouldn't track both
    states in "NMEthtoolCoalesceState".
    
    Simplify "NMEthtoolCoalesceState" to only contain one set of options.
    By tracking less state, the code becomes simpler, because you don't
    need to wonder where the old and requested state is used.
    12063d6c