mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
Staging: rtl8192e: Rename variable CcxRmState
Rename variable CcxRmState to ccx_rm_state to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/20240521031718.17852-28-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4d98ca874d
commit
63afc2d922
|
|
@ -913,7 +913,7 @@ struct rtllib_network {
|
|||
bool with_aironet_ie;
|
||||
bool ckip_supported;
|
||||
bool ccx_rm_enable;
|
||||
u8 CcxRmState[2];
|
||||
u8 ccx_rm_state[2];
|
||||
bool mb_ssid_valid;
|
||||
u8 mb_ssid_mask;
|
||||
u8 mb_ssid[ETH_ALEN];
|
||||
|
|
|
|||
|
|
@ -1810,12 +1810,12 @@ static void rtllib_parse_mife_generic(struct rtllib_device *ieee,
|
|||
info_element->data[2] == 0x96 &&
|
||||
info_element->data[3] == 0x01) {
|
||||
if (info_element->len == 6) {
|
||||
memcpy(network->CcxRmState, &info_element->data[4], 2);
|
||||
if (network->CcxRmState[0] != 0)
|
||||
memcpy(network->ccx_rm_state, &info_element->data[4], 2);
|
||||
if (network->ccx_rm_state[0] != 0)
|
||||
network->ccx_rm_enable = true;
|
||||
else
|
||||
network->ccx_rm_enable = false;
|
||||
network->mb_ssid_mask = network->CcxRmState[1] & 0x07;
|
||||
network->mb_ssid_mask = network->ccx_rm_state[1] & 0x07;
|
||||
if (network->mb_ssid_mask != 0) {
|
||||
network->mb_ssid_valid = true;
|
||||
network->mb_ssid_mask = 0xff <<
|
||||
|
|
@ -2344,7 +2344,7 @@ static inline void update_network(struct rtllib_device *ieee,
|
|||
|
||||
dst->with_aironet_ie = src->with_aironet_ie;
|
||||
dst->ckip_supported = src->ckip_supported;
|
||||
memcpy(dst->CcxRmState, src->CcxRmState, 2);
|
||||
memcpy(dst->ccx_rm_state, src->ccx_rm_state, 2);
|
||||
dst->ccx_rm_enable = src->ccx_rm_enable;
|
||||
dst->mb_ssid_mask = src->mb_ssid_mask;
|
||||
dst->mb_ssid_valid = src->mb_ssid_valid;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user