staging: ks7010: replace uint8_t with u8 in ks_wlan_set_rx_gain
commitf647b8e1ffcd0ded55feb5445afbb9d421c3155c
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Sun, 13 May 2018 18:35:43 +0000 (13 20:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 12:07:06 +0000 (14 14:07 +0200)
tree9cca492e111d21132b9926db86aab6fc87216e7b
parentace98ed095631588bd5a7ca8524b07076c690824
staging: ks7010: replace uint8_t with u8 in ks_wlan_set_rx_gain

In function ks_wlan_set_rx_gain a cast to uint8_t is being used
to assign reception gain. 'rx_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