mac80211: mesh_plink: collapse the two switch statements together
authorBob Copeland <me@bobcopeland.com>
Tue, 5 Nov 2013 19:16:55 +0000 (11:16 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:05 +0000 (20:50 +0100)
commit58506eba784a0944e4c92876b18aacbaad178be3
treeed896dd6db7f37aec02374b3280b6ca7c93bb206
parent36c9bb29bfad5c43327aa7b8b912ff8dca68416c
mac80211: mesh_plink: collapse the two switch statements together

The matches_local check can just be done when looking at the
individual action types.

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