• L
    cfg80211: fix regulatory restore upon user hints · 14609555
    Luis R. Rodriguez 提交于
    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: NLuis R. Rodriguez <lrodriguez@atheros.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    14609555
reg.c 58.1 KB