Bob Copeland 2d3db21086 Revert "mac80211: allow disable power save in mesh"
This reverts commit ee1f668136b2fb6640ee2d54c2a525ea41f98211.

The aformentioned commit added a check to allow
'iw wlan0 set power_save off' to work for mesh interfaces.

However, this is problematic because it also allows
'iw wlan0 set power_save on', which will crash in short order
because all of the subsequent code manipulates sdata->u.mgd.

The power-saving states for mesh interfaces can be manipulated
through the mesh config, e.g:
'iw wlan0 set mesh_param mesh_power_save=active' (which,
despite the name, actualy disables power saving since the
setting refers to the type of sleep the interface undergoes).

Cc: stable@vger.kernel.org
Fixes: ee1f668136b2 ("mac80211: allow disable power save in mesh")
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2013-11-25 16:50:00 +01:00
..
2011-07-08 11:11:20 -04:00
2013-10-01 12:16:51 +02:00
2009-07-10 15:01:49 -04:00
2013-10-28 15:05:11 +01:00
2013-10-28 15:05:11 +01:00
2013-09-26 13:21:38 +02:00
2013-02-04 18:57:47 +01:00
2013-02-15 15:46:37 +01:00
2013-10-15 15:16:29 +02:00
2011-03-31 11:26:23 -03:00
2013-10-28 15:05:11 +01:00
2013-10-28 15:05:11 +01:00
2012-06-24 11:33:18 +02:00
2013-10-01 12:17:08 +02:00
2012-03-13 14:54:16 -04:00
2013-02-04 18:57:47 +01:00
2012-06-20 17:35:22 +02:00