]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ks7010: replace uint8_t with u8 in ks_wlan_set_tx_gain
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 13 May 2018 18:35:42 +0000 (20:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:07:06 +0000 (14:07 +0200)
commitdfa24b9a6f334e5a05533c52cfa104c89fd13c6f
treee44c1d124d506aa14d91d8eb1e4b7631c2252f0e
parent1c1151189c536a3baebab8bb67f642881b3db8a5
staging: ks7010: replace uint8_t with u8 in ks_wlan_set_tx_gain

In function ks_wlan_set_tx_gain a cast to uint8_t is being used
to assign transmission gain. 'tx_gain' field is defined as u8 so
replace the cast to the correct type.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c