Rename variable DelayBA to delay_ba to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@xxxxxxxxxxxxxxx> --- drivers/staging/rtl8192e/rtl819x_HT.h | 2 +- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HT.h b/drivers/staging/rtl8192e/rtl819x_HT.h index 3f8860e91793..96973c744cd0 100644 --- a/drivers/staging/rtl8192e/rtl819x_HT.h +++ b/drivers/staging/rtl8192e/rtl819x_HT.h @@ -32,7 +32,7 @@ struct ht_capab_ele { u8 short_gi_40mhz:1; u8 tx_stbc:1; u8 rx_stbc:2; - u8 DelayBA:1; + u8 delay_ba:1; u8 MaxAMSDUSize:1; u8 DssCCk:1; u8 PSMP:1; diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 91c7415d5a2a..5c920a0089c9 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -264,7 +264,7 @@ void ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, cap_ele->tx_stbc = 1; cap_ele->rx_stbc = 0; - cap_ele->DelayBA = 0; + cap_ele->delay_ba = 0; cap_ele->MaxAMSDUSize = (MAX_RECEIVE_BUFFER_SIZE >= 7935) ? 1 : 0; cap_ele->DssCCk = 1; cap_ele->PSMP = 0; -- 2.30.2