staging: r8188eu: convert type of pBandWidth in odm_dm_struct
authorMichael Straube <straube.linux@gmail.com>
Sun, 20 Feb 2022 10:02:11 +0000 (11:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Feb 2022 17:11:03 +0000 (18:11 +0100)
commitc16be3c61dc99d1f8364f0074645339d8a8a6628
tree8478f33d5b44504f036868647e4d32d2936b8a2e
parentec868592f5c54aebbd175d9fd9105c09ccde3997
staging: r8188eu: convert type of pBandWidth in odm_dm_struct

The variable pBandWidth in odm_dm_struct stores constants from enum
ht_channel_width. Change the type of pBandWidth from u8 pointer to
enum ht_channel_width pointer to get rid of a type cast in function
Update_ODM_ComInfo_88E().

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220220100212.7466-5-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_dm.c
drivers/staging/r8188eu/include/odm.h