aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2014-10-20 15:36:04 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-10-20 15:36:55 -0400
commitb08cc24e0a24f8d67ba7d66dab43c40ed25a3f5c (patch)
treef318860d83a2fdafd626c0d78428154fab3ff015 /net/mac80211/cfg.c
parent988568669d171774b96e59fe35ef575df7f8cffd (diff)
mac80211: fix change flags variable signedness
This showed up as a sparse warning (with higher verbosity) and is certainly correct - the change flags should be unsigned. It's not that important since high flag numbers aren't used and bitwise operations would still work. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index a1498416ad55..acebf2c5bb0c 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -3108,7 +3108,8 @@ __ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev,
3108 struct ieee80211_channel_switch ch_switch; 3108 struct ieee80211_channel_switch ch_switch;
3109 struct ieee80211_chanctx_conf *conf; 3109 struct ieee80211_chanctx_conf *conf;
3110 struct ieee80211_chanctx *chanctx; 3110 struct ieee80211_chanctx *chanctx;
3111 int err, changed = 0; 3111 u32 changed = 0;
3112 int err;
3112 3113
3113 sdata_assert_lock(sdata); 3114 sdata_assert_lock(sdata);
3114 lockdep_assert_held(&local->mtx); 3115 lockdep_assert_held(&local->mtx);