dell-laptop: fix rfkill conversion
A polarity error snuck into the rfkill rewrite's dell-laptop conversion, fix it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Tested-by: Oliver Hartkopp <oliver@hartkopp.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
ce0879e324
commit
624f0de44a
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ dell_send_request(struct calling_interface_buffer *buffer, int class,
|
|||
static int dell_rfkill_set(void *data, bool blocked)
|
||||
{
|
||||
struct calling_interface_buffer buffer;
|
||||
int disable = blocked ? 0 : 1;
|
||||
int disable = blocked ? 1 : 0;
|
||||
unsigned long radio = (unsigned long)data;
|
||||
|
||||
memset(&buffer, 0, sizeof(struct calling_interface_buffer));
|
||||
|
|
Loading…
Reference in a new issue