rtl8187: Fix wrong rfkill switch mask for some models
commit70d57139f932b9ca21026253d02af71cf53d764a
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 6 Dec 2009 01:25:22 +0000 (5 19:25 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Dec 2009 21:55:00 +0000 (7 16:55 -0500)
tree3aa334d51a8105a80e97e3775b99e15db990acfd
parent815833e7ecf0b9a017315cae6aef4d7cd9517681
rtl8187: Fix wrong rfkill switch mask for some models

There are different bits used to convey the setting of the rfkill
switch to the driver. The current driver only supports one of these
possibilities. These changes were derived from the latest version
of the vendor driver.

This patch fixes the regression noted in kernel Bugzilla #14743.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-and-tested-by: Antti Kaijanmäki <antti@kaijanmaki.net>
Tested-by: Hin-Tak Leung <hintak.leung@gmail.com>
Cc: Stable <stable@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8187.h
drivers/net/wireless/rtl818x/rtl8187_dev.c
drivers/net/wireless/rtl818x/rtl8187_rfkill.c