nl80211: explicitly check enum nl80211_mesh_power_mode
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Aug 2016 12:59:53 +0000 (14:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 11 Aug 2016 18:00:37 +0000 (20:00 +0200)
commitff9a71afc948f609c4eaba47cd6788926e7cc105
tree16ea14e36fcb0bb4058906241ae72140fc1fb3d6
parent4fdbc67a25ce577b79b3af595e874e9ef921329f
nl80211: explicitly check enum nl80211_mesh_power_mode

Different gcc versions appear to be treating enum with different
signedness, causing warnings with the out parameter one way or
the other.

Just use the correct type to avoid all that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c