diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-12-24 20:38:22 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-28 21:20:05 (GMT) |
commit | 24feda0084722189468a65e20019cdd8ef99702b (patch) | |
tree | 815fdd018e7b1146546dc520208567cae75dd398 /drivers/atm/zatm.c | |
parent | b98c06b6debfe84c90200143bb1102f312f50a33 (diff) | |
download | linux-fsl-qoriq-24feda0084722189468a65e20019cdd8ef99702b.tar.xz |
mac80211: fix propagation of failed hardware reconfigurations
mac80211 does not propagate failed hardware reconfiguration
requests. For suspend and resume this is important due to all
the possible issues that can come out of the suspend <-> resume
cycle. Not propagating the error means cfg80211 will assume
the resume for the device went through fine and mac80211 will
continue on trying to poke at the hardware, enable timers,
queue work, and so on for a device which is completley
unfunctional.
The least we can do is to propagate device start issues and
warn when this occurs upon resume. A side effect of this patch
is we also now propagate the start errors upon harware
reconfigurations (non-suspend), but this should also be desirable
anyway, there is not point in continuing to reconfigure a
device if mac80211 was unable to start the device.
For further details refer to the thread:
http://marc.info/?t=126151038700001&r=1&w=2
Cc: stable@kernel.org
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/atm/zatm.c')
0 files changed, 0 insertions, 0 deletions