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)
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>

No differences found