summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u/ieee80211
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-10-16 01:59:52 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-16 09:40:30 -0700
commit57a8852912111bd1262db4cbeb2636a8619c8501 (patch)
tree6bc90a1c4d2f9bcc3c5db0339d55e8e8783124f4 /drivers/staging/rtl8192u/ieee80211
parent46326d26223bd5c6f39d127e6d0d8f18bd0338f6 (diff)
Staging: rtl8192u: fix checkpatch.pl error
This patch fixes the checkpatch.pl script error: ERROR: do not use C99 // comments +static long ieee80211_translate_todbm(u8 signal_strength_index)// 0-100 index. Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/ieee80211')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
index 4414c7dd2b02..e730ed64c0fe 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c
@@ -2166,7 +2166,8 @@ static inline u8 ieee80211_SignalStrengthTranslate(
return RetSS;
}
-static long ieee80211_translate_todbm(u8 signal_strength_index)// 0-100 index.
+/* 0-100 index */
+static long ieee80211_translate_todbm(u8 signal_strength_index)
{
long signal_power; // in dBm.