summaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp/bsd_comp.c
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-04-18 18:08:21 +0100
committerMatthew Garrett <mjg@redhat.com>2012-05-31 14:23:39 -0400
commitbc7ab495c7532f06bc03021c0d78ac384fb13c14 (patch)
tree099863503d7c95b356bab64fd88e831ec8e9b4b8 /drivers/net/ppp/bsd_comp.c
parent14b234b10544046544a81095c9ab372842f80eea (diff)
downloadlinux-bc7ab495c7532f06bc03021c0d78ac384fb13c14.tar.bz2
xo1-rfkill: only act when blocked state is changed
The XO-1 rfkill driver should only send EC commands when changing between blocked/unblocked state. The rfkill switch is asked to be unblocked on every resume (even when the card was never blocked before) and sending a EC_WLAN_LEAVE_RESET command here upsets the resume sequence of the libertas driver. Adding the check to avoid the spurious EC_WLAN_LEAVE_RESET fixes the wifi resume behaviour. The rfkill state is maintained by the hardware over suspend/resume so no extra consideration is needed here. Signed-off-by: Daniel Drake <dsd@laptop.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/net/ppp/bsd_comp.c')
0 files changed, 0 insertions, 0 deletions