Johannes Berg 94f9b97be5 mac80211: be more careful in suspend/resume
When suspending with all netdevs down, the device
is stopped but we still call a number of driver
callbacks that the driver might not expect. The
same happens during resume, we might call a few
callbacks without starting the driver. Fix this
by checking open_count around more things and
exiting quickly if it is 0.

Also, while at this I noticed that the coverage
class isn't reprogrammed after resume, so add
that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-07-15 13:39:42 -04:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2011-07-08 11:11:20 -04:00
2011-07-08 11:11:20 -04:00
2009-07-10 15:01:49 -04:00
2011-06-08 14:19:05 -04:00
2011-07-13 14:49:42 -04:00
2011-01-05 16:07:12 -05:00
2011-05-16 14:25:29 -04:00
2011-05-16 14:10:41 -04:00
2011-07-05 15:26:53 -04:00
2011-03-31 11:26:23 -03:00
2011-07-08 11:42:21 -04:00