]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: vt6656: vnt_rf_set_txpower use power for priv->byCurPwr
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 5 Jul 2014 18:24:21 +0000 (19:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 23:03:57 +0000 (16:03 -0700)
commit72183c6b0cc95e040c0ad4b8117f83704a31618c
treef90e038d1698ac0caff10d5c20e7e8cbf875a687
parentba911c9b5b950900992a73099ae95ef522bc49bc
staging: vt6656: vnt_rf_set_txpower use power for priv->byCurPwr

The byCurPwr value can change state while in another thread,.

Change to local variable power which is the last set value.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rf.c