diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-15 08:40:31 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-15 09:46:37 -0500 |
commit | bf7cd94dcc71682cd6af4a9028f95307b7db41c5 (patch) | |
tree | 66b4573619eaebf52c0a298969a9756eb0059266 /net/mac80211/main.c | |
parent | 93c78c5debeb9c7101ecc73347d4730c26a98c05 (diff) |
mac80211: clean up mesh code
There's various code with strange indentation,
questionable loop and locking constructs, etc.
The bigger change is moving the "sdata" argument
to the first argument of all functions, like all
other mac80211 functions that have one.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index f9747689d604..d0dd11153a6c 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -1173,8 +1173,7 @@ static void __exit ieee80211_exit(void) | |||
1173 | rc80211_minstrel_ht_exit(); | 1173 | rc80211_minstrel_ht_exit(); |
1174 | rc80211_minstrel_exit(); | 1174 | rc80211_minstrel_exit(); |
1175 | 1175 | ||
1176 | if (mesh_allocated) | 1176 | ieee80211s_stop(); |
1177 | ieee80211s_stop(); | ||
1178 | 1177 | ||
1179 | ieee80211_iface_exit(); | 1178 | ieee80211_iface_exit(); |
1180 | 1179 | ||