From 6b6f94912bb03f2b79853ce6ba2067b75f52784f Mon Sep 17 00:00:00 2001 From: Juliana Rodrigues Date: Sat, 8 Oct 2016 06:49:47 -0300 Subject: [PATCH] staging: wlan-ng: renames ANL_currFC to avoid camelcase Renames the camelcased variable ANL_currFC to anl_curr_fc in order to fix a checkpatch warning. Signed-off-by: Juliana Rodrigues Signed-off-by: Greg Kroah-Hartman --- drivers/staging/wlan-ng/hfa384x.h | 2 +- drivers/staging/wlan-ng/prism2sta.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h index e00ebf3..612f928 100644 --- a/drivers/staging/wlan-ng/hfa384x.h +++ b/drivers/staging/wlan-ng/hfa384x.h @@ -457,7 +457,7 @@ struct hfa384x_downloadbuffer { struct hfa384x_commsquality { u16 cq_curr_bss; u16 asl_curr_bss; - u16 ANL_currFC; + u16 anl_curr_fc; } __packed; /*-- Information Record: dmbcommsquality --*/ diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c index e20517d..b10c93e 100644 --- a/drivers/staging/wlan-ng/prism2sta.c +++ b/drivers/staging/wlan-ng/prism2sta.c @@ -375,7 +375,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev, qualmsg->link.data = le16_to_cpu(hw->qual.cq_curr_bss); qualmsg->level.data = le16_to_cpu(hw->qual.asl_curr_bss); - qualmsg->noise.data = le16_to_cpu(hw->qual.ANL_currFC); + qualmsg->noise.data = le16_to_cpu(hw->qual.anl_curr_fc); qualmsg->txrate.data = hw->txrate; break; @@ -1950,7 +1950,7 @@ void prism2sta_commsqual_defer(struct work_struct *data) pr_debug("commsqual %d %d %d\n", le16_to_cpu(hw->qual.cq_curr_bss), le16_to_cpu(hw->qual.asl_curr_bss), - le16_to_cpu(hw->qual.ANL_currFC)); + le16_to_cpu(hw->qual.anl_curr_fc)); } /* Get the signal rate */ -- 2.7.4