commit | e76d67f035649f1cc40603ab06ebcc1d2eb49253 | [log] [tgz] |
---|---|---|
author | Bob Copeland <me@bobcopeland.com> | Tue Nov 05 11:16:52 2013 -0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Nov 25 20:49:55 2013 +0100 |
tree | 6885335ad85ebacd6e52916804673ad9b97a16e3 | |
parent | 0f5ffd24fb732fb4d653a8ee97faea767a0e7172 [diff] |
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>