Skip to content

Commit

Permalink
sony-laptop: fully enable SNY controlled modems
Browse files Browse the repository at this point in the history
The call to handlers 0x124 and 0x135 (rfkill control) seems to take a
bitmask to control various states of the device. For our rfkill we need
a fully on/off. SVZ1311Z9R/X's LTE modem needs more bits up.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=47751
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Cc: stable@kernel.org
  • Loading branch information
Mattia Dongili authored and Matthew Garrett committed Feb 27, 2013
1 parent d1381f4 commit 3ec1c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,7 @@ static int sony_nc_rfkill_set(void *data, bool blocked)
int argument = sony_rfkill_address[(long) data] + 0x100;

if (!blocked)
argument |= 0x030000;
argument |= 0x070000;

return sony_call_snc_handle(sony_rfkill_handle, argument, &result);
}
Expand Down

0 comments on commit 3ec1c39

Please sign in to comment.