ieee8021_node: fix whitespace issues
Submitted by: Augustin Cavalier <waddlesplash@gmail.com> Obtained from: Haiku (dffc3e235360cd7b71261239ee8507b7d62a1471) MFC after: 1 week
This commit is contained in:
parent
58a7c4bfcf
commit
8e0cc51b87
@ -32,13 +32,13 @@ __FBSDID("$FreeBSD$");
|
||||
#include "opt_wlan.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/kernel.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_var.h>
|
||||
#include <net/if_media.h>
|
||||
@ -203,7 +203,7 @@ ieee80211_node_vdetach(struct ieee80211vap *vap)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* Port authorize/unauthorize interfaces for use by an authenticator.
|
||||
*/
|
||||
|
||||
@ -379,7 +379,7 @@ ieee80211_create_ibss(struct ieee80211vap* vap, struct ieee80211_channel *chan)
|
||||
memcpy(ni->ni_meshid, vap->iv_mesh->ms_id, ni->ni_meshidlen);
|
||||
#endif
|
||||
}
|
||||
/*
|
||||
/*
|
||||
* Fix the channel and related attributes.
|
||||
*/
|
||||
/* clear DFS CAC state on previous channel */
|
||||
@ -571,7 +571,7 @@ check_bss_debug(struct ieee80211vap *vap, struct ieee80211_node *ni)
|
||||
printf("%s\n", fail & 0x10 ? "!" : "");
|
||||
}
|
||||
#endif /* IEEE80211_DEBUG */
|
||||
|
||||
|
||||
|
||||
int
|
||||
ieee80211_ibss_merge_check(struct ieee80211_node *ni)
|
||||
@ -880,7 +880,7 @@ ieee80211_sta_join1(struct ieee80211_node *selbs)
|
||||
* Set the erp state (mostly the slot time) to deal with
|
||||
* the auto-select case; this should be redundant if the
|
||||
* mode is locked.
|
||||
*/
|
||||
*/
|
||||
ieee80211_reset_erp(ic);
|
||||
ieee80211_wme_initparams(vap);
|
||||
|
||||
@ -1678,7 +1678,7 @@ ieee80211_fakeup_adhoc_node(struct ieee80211vap *vap,
|
||||
/*
|
||||
* In adhoc demo mode there are no management
|
||||
* frames to use to discover neighbor capabilities,
|
||||
* so blindly propagate the local configuration
|
||||
* so blindly propagate the local configuration
|
||||
* so we can do interesting things (e.g. use
|
||||
* WME to disable ACK's).
|
||||
*/
|
||||
@ -2352,7 +2352,7 @@ timeout_stations(void *arg __unused, struct ieee80211_node *ni)
|
||||
/* XXX before inact decrement? */
|
||||
if (ni == vap->iv_bss)
|
||||
return;
|
||||
if (ni->ni_associd != 0 ||
|
||||
if (ni->ni_associd != 0 ||
|
||||
(vap->iv_opmode == IEEE80211_M_IBSS ||
|
||||
vap->iv_opmode == IEEE80211_M_AHDEMO)) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user