summaryrefslogtreecommitdiffstats
path: root/net/rxrpc
diff options
context:
space:
mode:
authorSamuel Tan <samueltan@chromium.org>2015-02-09 21:29:15 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-02-24 10:53:50 +0100
commit5528fae88697268a7176dd6c8d7ab368c04368be (patch)
tree4dcc4e0e355407a1a32c431d05bf143ac4f0afa1 /net/rxrpc
parent104f5a6206f4b3133c675e3d41eca2ca4c41406b (diff)
downloadlinux-5528fae88697268a7176dd6c8d7ab368c04368be.tar.bz2
nl80211: use loop index as type for net detect frequency results
We currently add nested members of the NL80211_ATTR_SCAN_FREQUENCIES as NLA_U32 attributes of type NL80211_ATTR_WIPHY_FREQ in cfg80211_net_detect_results. However, since there can be an arbitrary number of frequency results, we should use the loop index of the loop used to add the frequency results to NL80211_ATTR_SCAN_FREQUENCIES as the type (i.e. nla_type) for each result attribute, rather than a fixed type. This change is in line with how nested members are added to NL80211_ATTR_SCAN_FREQUENCIES in the functions nl80211_send_wowlan_nd and nl80211_add_scan_req. Signed-off-by: Samuel Tan <samueltan@chromium.org> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions