]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1e8b94da9142611959ad668062a0a02ecc9175a
tree16ea14e36fcb0bb4058906241ae72140fc1fb3d6
parent49c4d3711f192c29c26ddea37a3bc6caafc132e3
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