]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: avoid handling of SMPS for mesh
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Tue, 22 Apr 2014 10:19:25 +0000 (18:19 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Apr 2014 14:38:42 +0000 (16:38 +0200)
commit5b34c9ff463bf707d6dff644d6af4fca819f4e26
treee2048316f04cd2c039e301f0767ee68dba5751de
parent1a4efd24cb8f97db7964fd217543c48216d5bd31
mac80211: avoid handling of SMPS for mesh

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: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c