diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-12-03 11:21:11 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-03 07:01:22 -0500 |
commit | 1a9193185f462a51815fe48491f8a6fb6b942551 (patch) | |
tree | 9c89b47fdecbbd005fa5795393fab31e6a2e6e97 /net/wireless/sme.c | |
parent | 75e2dba866706ab9b133983b7fd9a6297b24c22d (diff) |
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.c | 6 |
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, | |||
519 | * - country_ie + 2, the start of the country ie data, and | 519 | * - country_ie + 2, the start of the country ie data, and |
520 | * - and country_ie[1] which is the IE length | 520 | * - and country_ie[1] which is the IE length |
521 | */ | 521 | */ |
522 | regulatory_hint_11d(wdev->wiphy, | 522 | regulatory_hint_11d(wdev->wiphy, bss->channel->band, |
523 | bss->channel->band, | 523 | country_ie + 2, country_ie[1]); |
524 | country_ie + 2, | ||
525 | country_ie[1]); | ||
526 | kfree(country_ie); | 524 | kfree(country_ie); |
527 | } | 525 | } |
528 | 526 | ||