diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-09-24 16:14:55 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-09-29 15:56:52 +0200 |
commit | 076cdcb12f784b2057f172b5caca641fafa67cdf (patch) | |
tree | 8b1621ae082ebb3c0a2def9c359997f0e77818a5 /net/mac80211/util.c | |
parent | mac80211: reduce indentation by inlining a check (diff) | |
download | linux-076cdcb12f784b2057f172b5caca641fafa67cdf.tar.xz linux-076cdcb12f784b2057f172b5caca641fafa67cdf.zip |
mac80211: use bool argument to ieee80211_send_nullfunc
Instead of int with 0/1, use bool with false/true for the
powersave argument to ieee80211_send_nullfunc().
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r-- | net/mac80211/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c index 62948bbb0623..60c4dbf92625 100644 --- a/net/mac80211/util.c +++ b/net/mac80211/util.c @@ -1966,7 +1966,7 @@ int ieee80211_reconfig(struct ieee80211_local *local) if (!sdata->u.mgd.associated) continue; - ieee80211_send_nullfunc(local, sdata, 0); + ieee80211_send_nullfunc(local, sdata, false); } } |