aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/nl80211.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-17 05:53:12 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-07-17 05:53:57 -0400
commit00f5335079689cd65a9430b5df8974dc35c7914b (patch)
tree34206c0135912ba8f662feb942faf734879588f9 /net/wireless/nl80211.c
parentb0e40e72be42153cd6473ca1fa69058a30adb2bb (diff)
nl80211: add wdev ID as u64 as it should
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>
Diffstat (limited to 'net/wireless/nl80211.c')
-rw-r--r--net/wireless/nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 6b001e44571..be8750f91d7 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -8101,7 +8101,7 @@ static void nl80211_send_remain_on_chan_event(
8101 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) || 8101 if (nla_put_u32(msg, NL80211_ATTR_WIPHY, rdev->wiphy_idx) ||
8102 (wdev->netdev && nla_put_u32(msg, NL80211_ATTR_IFINDEX, 8102 (wdev->netdev && nla_put_u32(msg, NL80211_ATTR_IFINDEX,
8103 wdev->netdev->ifindex)) || 8103 wdev->netdev->ifindex)) ||
8104 nla_put_u32(msg, NL80211_ATTR_WDEV, wdev_id(wdev)) || 8104 nla_put_u64(msg, NL80211_ATTR_WDEV, wdev_id(wdev)) ||
8105 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, chan->center_freq) || 8105 nla_put_u32(msg, NL80211_ATTR_WIPHY_FREQ, chan->center_freq) ||
8106 nla_put_u32(msg, NL80211_ATTR_WIPHY_CHANNEL_TYPE, channel_type) || 8106 nla_put_u32(msg, NL80211_ATTR_WIPHY_CHANNEL_TYPE, channel_type) ||
8107 nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie)) 8107 nla_put_u64(msg, NL80211_ATTR_COOKIE, cookie))