• J
    mac80211: fix channel context suspend/reconfig handling · fe5f2559
    Johannes Berg 提交于
    Sujith reported warnings with suspend/resume due to
    channel contexts. When I looked into it, I realised
    that the code was completely broken as it unassigned
    the channel contexts when suspending, which actually
    means they are destroyed.
    
    Eliad Peller then pointed out that we also need to
    remove the channel contexts from the driver. When I
    looked into this, I also noticed that the code isn't
    handling the virtual monitor interface correctly (if
    it exists.)
    
    Fix this by calling just the driver methods (if they
    are implemented) instead of using the channel context
    management code. Also add reconfiguration for the
    virtual monitor interface.
    Reported-by: NSujith Manoharan <sujith@msujith.org>
    Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
    fe5f2559
util.c 52.3 KB