mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
staging: rtl8187se: fix code allignment
Fix confusingly indented code after if. This patch fixes the following coccinelle issues: drivers/staging/rtl8187se/r8180_wx.c:1148:2-11: code aligned with following code on line 1150 drivers/staging/rtl8187se/r8180_dm.c:668:1-84: code aligned with following code on line 674 drivers/staging/rtl8187se/ieee80211/ieee80211_wx.c:623:2-38: code aligned with following code on line 625 drivers/staging/rtl8187se/ieee80211/ieee80211_wx.c:148:1-85: code aligned with following code on line 149 Signed-off-by: Teodora Baluta <teobaluta@gmail.com> Reviewed-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0fe249a5c8
commit
3717013a64
@ -145,7 +145,8 @@ static inline char *rtl818x_translate_scan(struct ieee80211_device *ieee,
|
|||||||
/* Add quality statistics */
|
/* Add quality statistics */
|
||||||
/* TODO: Fix these values... */
|
/* TODO: Fix these values... */
|
||||||
if (network->stats.signal == 0 || network->stats.rssi == 0)
|
if (network->stats.signal == 0 || network->stats.rssi == 0)
|
||||||
printk("========>signal:%d, rssi:%d\n", network->stats.signal, network->stats.rssi);
|
printk("========>signal:%d, rssi:%d\n", network->stats.signal,
|
||||||
|
network->stats.rssi);
|
||||||
iwe.cmd = IWEVQUAL;
|
iwe.cmd = IWEVQUAL;
|
||||||
// printk("SIGNAL: %d,RSSI: %d,NOISE: %d\n",network->stats.signal,network->stats.rssi,network->stats.noise);
|
// printk("SIGNAL: %d,RSSI: %d,NOISE: %d\n",network->stats.signal,network->stats.rssi,network->stats.noise);
|
||||||
iwe.u.qual.qual = network->stats.signalstrength;
|
iwe.u.qual.qual = network->stats.signalstrength;
|
||||||
|
Loading…
Reference in New Issue
Block a user