]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: factor out common plink close/estab code
authorBob Copeland <me@bobcopeland.com>
Tue, 5 Nov 2013 19:16:52 +0000 (11:16 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:49:55 +0000 (20:49 +0100)
commit80dab4deccc1ea3237f828121e65995c402e19cf
tree6885335ad85ebacd6e52916804673ad9b97a16e3
parent135d571b08fe1c62b12b9b3c60d29d44ca2d4f65
mac80211: mesh: factor out common plink close/estab code

Reject and accepted close events always put the host in the
holding state and compute a reason code based only on the
current state.  Likewise on establish we always do the same
setup.  Put these in functions to save some duplicated code.

Signed-off-by: Bob Copeland <bob@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c