diff options
author | Juliana Rodrigues <juliana.orod@gmail.com> | 2016-10-08 06:49:32 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 10:24:48 +0200 |
commit | 0e771659c67f5ee6b969a6515995d61d453b57ff (patch) | |
tree | 7d712c30e2633b0883d226559f849e5a84967416 /drivers/staging | |
parent | 1680202c751ab37a20b55ad54dc9a2e40903ee36 (diff) | |
download | linux-stable-0e771659c67f5ee6b969a6515995d61d453b57ff.tar.gz linux-stable-0e771659c67f5ee6b969a6515995d61d453b57ff.tar.bz2 linux-stable-0e771659c67f5ee6b969a6515995d61d453b57ff.zip |
staging: wlan-ng: renames ASL_currBSS to avoid camelcase
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/wlan-ng/hfa384x.h | 2 | ||||
-rw-r--r-- | 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 6acdbcecbfd6..e00ebf3308e4 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 bcf213330f6a..e20517db8038 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)); } |