History

nl80211: Fix enum type of variable in nl80211_put_sta_rate()

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.

Matthias Kaehlcke committed 9 years ago

Commit bbf67e41 parent a4ac6f21 file · +1 −1Browse files

Unified · Split

net/wireless/nl80211.c+1−1
@@ -4203,7 +4203,7 @@ static bool nl80211_put_sta_rate(struct sk_buff *msg, struct rate_info *info, · 4202 unmodified lines
42034203 struct nlattr *rate;
42044204 u32 bitrate;
42054205 u16 bitrate_compat;
4206− enum nl80211_attrs rate_flg;
4206+ enum nl80211_rate_info rate_flg;
42074207
42084208 rate = nla_nest_start(msg, attr);
42094209 if (!rate)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t