Skip to content
  • Luis R. Rodriguez's avatar
    cfg80211: fix regulatory restore upon user hints · 14609555
    Luis R. Rodriguez authored
    
    
    When we restore regulatory settings its possible CRDA
    will not reply because of a bogus user entry. In this
    case the bogus entry will prevent any further processing
    on cfg80211 for regulatory domains even if we restore
    regulatory settings.
    
    To prevent this we suck out all pending requests when
    restoring regulatory settings and add them back into the
    queue after we have queued up the reset work.
    
    The impact of not having this applied is that a user
    with privileges can issue a userspace regulatory hint
    while we are disasocciating and this would prevent any
    further processing of regulatory domains.
    
    Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    14609555