From: Juliana Rodrigues <juliana.orod@gmail.com>
To: outreachy-kernel@googlegroups.com, gregkh@linuxfoundation.org
Subject: [PATCH v2 12/13] staging: wlan-ng: renames ASL_currBSS to avoid camelcase
Date: Sat, 8 Oct 2016 06:49:32 -0300 [thread overview]
Message-ID: <20161008094932.GA14225@spock> (raw)
In-Reply-To: <cover.1475919731.git.juliana.orod@gmail.com>
Renames the camelcased variable ASL_currBSS to asl_curr_bss in order
to fix a checkpatch warning.
Signed-off-by: Juliana Rodrigues <juliana.orod@gmail.com>
---
drivers/staging/wlan-ng/hfa384x.h | 2 +-
drivers/staging/wlan-ng/prism2sta.c | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 6acdbce..e00ebf3 100644
--- a/drivers/staging/wlan-ng/hfa384x.h
+++ b/drivers/staging/wlan-ng/hfa384x.h
@@ -456,7 +456,7 @@ struct hfa384x_downloadbuffer {
/*-- Information Record: commsquality --*/
struct hfa384x_commsquality {
u16 cq_curr_bss;
- u16 ASL_currBSS;
+ u16 asl_curr_bss;
u16 ANL_currFC;
} __packed;
diff --git a/drivers/staging/wlan-ng/prism2sta.c b/drivers/staging/wlan-ng/prism2sta.c
index bcf2133..e20517d 100644
--- a/drivers/staging/wlan-ng/prism2sta.c
+++ b/drivers/staging/wlan-ng/prism2sta.c
@@ -373,7 +373,8 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,
P80211ENUM_msgitem_status_data_ok;
qualmsg->link.data = le16_to_cpu(hw->qual.cq_curr_bss);
- qualmsg->level.data = le16_to_cpu(hw->qual.ASL_currBSS);
+ qualmsg->level.data =
+ le16_to_cpu(hw->qual.asl_curr_bss);
qualmsg->noise.data = le16_to_cpu(hw->qual.ANL_currFC);
qualmsg->txrate.data = hw->txrate;
@@ -1948,7 +1949,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_currBSS),
+ le16_to_cpu(hw->qual.asl_curr_bss),
le16_to_cpu(hw->qual.ANL_currFC));
}
--
2.10.0
next prev parent reply other threads:[~2016-10-08 9:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1475919731.git.juliana.orod@gmail.com>
2016-10-08 9:46 ` [PATCH v2 01/13] staging: wlan-ng: aligned block to open parenthesis Juliana Rodrigues
2016-10-08 9:46 ` [PATCH v2 02/13] staging: wlan-ng: fixed lines over 80 characters Juliana Rodrigues
2016-10-08 9:47 ` [PATCH v2 03/13] staging: wlan-ng: renames hfa384x_InfFrame to avoid camelcase Juliana Rodrigues
2016-10-08 9:47 ` [PATCH v2 04/13] staging: wlan-ng: renames hfa384x_CommTallies32 " Juliana Rodrigues
2016-10-08 9:47 ` [PATCH v2 05/13] staging: wlan-ng: renames hfa384x_ScanResult " Juliana Rodrigues
2016-10-08 9:47 ` [PATCH v2 06/13] staging: wlan-ng: renames hfa384x_JoinRequest_data " Juliana Rodrigues
2016-10-08 9:48 ` [PATCH v2 07/13] staging: wlan-ng: renames hfa384x_scanResultSub " Juliana Rodrigues
2016-10-08 9:48 ` [PATCH v2 08/13] staging: wlan-ng: renames hfa384x_ChInfoResultSub " Juliana Rodrigues
2016-10-08 9:48 ` [PATCH v2 09/13] staging: wlan-ng: renames hfa384x_AssocStatus " Juliana Rodrigues
2016-10-08 9:49 ` [PATCH v2 10/13] staging: wlan-ng: renames hfa384x_authenticateStation_data " Juliana Rodrigues
2016-10-08 9:49 ` [PATCH v2 11/13] staging: wlan-ng: renames CQ_currBSS " Juliana Rodrigues
2016-10-08 9:49 ` Juliana Rodrigues [this message]
2016-10-08 9:49 ` [PATCH v2 13/13] staging: wlan-ng: renames ANL_currFC " Juliana Rodrigues
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161008094932.GA14225@spock \
--to=juliana.orod@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=outreachy-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.