scripts/Lindent on ieee80211 subsystem.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
This commit is contained in:
parent
6c2f426783
commit
81f875208e
|
@ -161,9 +161,11 @@ static inline char *ipw2100_translate_scan(struct ieee80211_device *ieee,
|
|||
(ieee->perfect_rssi - ieee->worst_rssi) -
|
||||
(ieee->perfect_rssi - network->stats.rssi) *
|
||||
(15 * (ieee->perfect_rssi - ieee->worst_rssi) +
|
||||
62 * (ieee->perfect_rssi - network->stats.rssi))) /
|
||||
((ieee->perfect_rssi - ieee->worst_rssi) *
|
||||
(ieee->perfect_rssi - ieee->worst_rssi));
|
||||
62 * (ieee->perfect_rssi -
|
||||
network->stats.rssi))) /
|
||||
((ieee->perfect_rssi -
|
||||
ieee->worst_rssi) * (ieee->perfect_rssi -
|
||||
ieee->worst_rssi));
|
||||
if (iwe.u.qual.qual > 100)
|
||||
iwe.u.qual.qual = 100;
|
||||
else if (iwe.u.qual.qual < 1)
|
||||
|
|
Loading…
Reference in New Issue