commit | 33f9359abb9f6ded3e7b6dc98b1468c83404af49 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Nov 17 14:00:20 2013 +0100 |
committer | Matthew Garrett <matthew.garrett@nebula.com> | Wed Nov 20 18:50:48 2013 -0500 |
tree | 44a4f50491278c06965e4f26b2731aba4d31e949 | |
parent | d038880efd9dd222c67fd31fbfca3440d0db3a06 [diff] |
dell-laptop: Don't set sw_state from the query callback The query callback should only update the hw_state, see the comment in net/rfkill/core.c in rfkill_set_block, which is its only caller. rfkill_set_block will modify the sw_state directly after calling query so calling set_sw_state is an expensive NOP. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>