staging: ks7010: review local variable types in hostif_phy_information_confirm
This commit changes types for local variables declared in hostif_phy_information_confirm function to use the preferred one 'u8' and 'u32'. Its values are get using get_byte and get_dword functions which returns 'u8' and 'u32' so it makes sense. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
677e281d53
commit
d82e514003
|
@ -866,10 +866,10 @@ static
|
|||
void hostif_phy_information_confirm(struct ks_wlan_private *priv)
|
||||
{
|
||||
struct iw_statistics *wstats = &priv->wstats;
|
||||
unsigned char rssi, signal, noise;
|
||||
unsigned char link_speed;
|
||||
unsigned int transmitted_frame_count, received_fragment_count;
|
||||
unsigned int failed_count, fcs_error_count;
|
||||
u8 rssi, signal, noise;
|
||||
u8 link_speed;
|
||||
u32 transmitted_frame_count, received_fragment_count;
|
||||
u32 failed_count, fcs_error_count;
|
||||
|
||||
rssi = get_byte(priv);
|
||||
signal = get_byte(priv);
|
||||
|
|
Loading…
Reference in New Issue