projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4ac6f2
)
nl80211: Fix enum type of variable in nl80211_put_sta_rate()
author
Matthias Kaehlcke
<mka@chromium.org>
Mon, 17 Apr 2017 22:59:52 +0000
(15:59 -0700)
committer
Johannes Berg
<johannes.berg@intel.com>
Tue, 18 Apr 2017 09:03:03 +0000
(11:03 +0200)
rate_flg is of type 'enum nl80211_attrs', however it is assigned with
'enum nl80211_rate_info' values. Change the type of rate_flg accordingly.
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
patch
|
blob
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index a047992e5df1ba80e1a5aecf7d72b8ab5850b2e4..04c1c7896cc18fda4eeb435586bb0a358e15f696 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-4203,7
+4203,7
@@
static bool nl80211_put_sta_rate(struct sk_buff *msg, struct rate_info *info,
struct nlattr *rate;
u32 bitrate;
u16 bitrate_compat;
- enum nl80211_
attrs
rate_flg;
+ enum nl80211_
rate_info
rate_flg;
rate = nla_nest_start(msg, attr);
if (!rate)