]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: rtl8723au: Do not write garbage to REG_SPS0_CTRL
authorJes Sorensen <Jes.Sorensen@redhat.com>
Sun, 30 Nov 2014 21:05:04 +0000 (16:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Dec 2014 00:40:00 +0000 (16:40 -0800)
commit6e1c29fd9e10af8aff4f9fe628e1ca9d337e90a9
treee93d94ea0c23cceb5e75be78b8879eec0c3ff03c
parent2098778f562123c09cace4a15cd08f0cc26f0e48
staging: rtl8723au: Do not write garbage to REG_SPS0_CTRL

Use a separate variable to hold the value of REG_SPS0_CTRL to avoid it
getting clobbered and writing out garbage to it, for the case of
eRFPowerState == rf_sleep/rf_off && bRegSSPwrLvl == 1.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/usb_halinit.c