projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e40e7
)
nl80211: add wdev ID as u64 as it should
author
Johannes Berg
<johannes.berg@intel.com>
Tue, 17 Jul 2012 09:53:12 +0000
(11:53 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Tue, 17 Jul 2012 09:53:57 +0000
(11:53 +0200)
In one of my previous patches I erroneously
used nla_put_u32 for the wdev_id, fix that
to use nla_put_u64.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/nl80211.c
b/net/wireless/nl80211.c
index 6b001e445718fdaaa0e1773e8cbdbd609bc02ed5..be8750f91d7825604afb3d9884bad8ca66f9a57e 100644
(file)
--- a/
net/wireless/nl80211.c
+++ b/
net/wireless/nl80211.c
@@
-8101,7
+8101,7
@@
static void nl80211_send_remain_on_chan_event(
if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) ||
(wdev->netdev && nla_put_u32(msg, NL80211_ATTR_IFINDEX,
wdev->netdev->ifindex)) ||
- nla_put_u
32
(msg, NL80211_ATTR_WDEV, wdev_id(wdev)) ||
+ nla_put_u
64
(msg, NL80211_ATTR_WDEV, wdev_id(wdev)) ||
nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, chan->center_freq) ||
nla_put_u32(msg, NL80211_ATTR_WIPHY_CHANNEL_TYPE, channel_type) ||
nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie))