cfg80211: clean up mesh plink station change API
authorJohannes Berg <johannes.berg@intel.com>
Thu, 14 Feb 2013 22:27:01 +0000 (23:27 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 15:35:37 +0000 (16:35 +0100)
Make the ability to leave the plink_state unchanged not use a
magic -1 variable that isn't in the enum, but an explicit change
flag; reject invalid plink states or actions and move the needed
constants for plink actions to the right header file. Also
reject plink_state changes for non-mesh interfaces.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found