summaryrefslogtreecommitdiffstats
path: root/net/wireless/sme.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-03 17:21:11 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 13:01:22 +0100
commit1a9193185f462a51815fe48491f8a6fb6b942551 (patch)
tree9c89b47fdecbbd005fa5795393fab31e6a2e6e97 /net/wireless/sme.c
parentregulatory: simplify regulatory_hint_11d (diff)
downloadlinux-1a9193185f462a51815fe48491f8a6fb6b942551.tar.xz
linux-1a9193185f462a51815fe48491f8a6fb6b942551.zip
regulatory: code cleanup
Clean up various things like indentation, extra parentheses, too many/few line breaks, etc. Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/sme.c')
-rw-r--r--net/wireless/sme.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index f2431e41a373..d2d26518cdd7 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -519,10 +519,8 @@ void __cfg80211_connect_result(struct net_device *dev, const u8 *bssid,
* - country_ie + 2, the start of the country ie data, and
* - and country_ie[1] which is the IE length
*/
- regulatory_hint_11d(wdev->wiphy,
- bss->channel->band,
- country_ie + 2,
- country_ie[1]);
+ regulatory_hint_11d(wdev->wiphy, bss->channel->band,
+ country_ie + 2, country_ie[1]);
kfree(country_ie);
}