]> err.no Git - linux-2.6/commitdiff
scripts/Lindent on ieee80211 subsystem.
authorJames Ketrenos <jketreno@linux.intel.com>
Mon, 24 Oct 2005 15:20:53 +0000 (10:20 -0500)
committerJames Ketrenos <jketreno@linux.intel.com>
Mon, 7 Nov 2005 22:18:48 +0000 (16:18 -0600)
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
net/ieee80211/ieee80211_wx.c

index 1ce7af9bec35a167b8e17512ec7ab716a2013549..f5b805355000c798d7e3aa0792966ed2094a95a3 100644 (file)
@@ -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)