• Chun-Yeow Yeoh's avatar
    mac80211: avoid handling of SMPS for mesh · 062f1d6d
    Chun-Yeow Yeoh authored
    The patch "mac80211: implement SMPS for AP" has caused kernel
    oops at mesh STA if the peer mesh STA operates in sleep mode
    and then becomes active mode. It can be easily reproduced by
    setting the following commands at peer mesh STA:
    
    iw mesh0 station set aa:bb:cc:dd:ee:ff mesh_power_mode deep
    iw mesh0 station set aa:bb:cc:dd:ee:ff mesh_power_mode active
    
    Kernel oops will happen at mesh STA aa:bb:cc:dd:ee:ff.
    
    Fix this by avoiding SMPS for mesh mode.
    Signed-off-by: default avatarChun-Yeow Yeoh <yeohchunyeow@gmail.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    062f1d6d
sta_info.c 43.5 KB