diff options
| author | Luca Coelho <luciano.coelho@intel.com> | 2019-04-17 02:34:40 -0400 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2019-04-26 07:02:11 -0400 |
| commit | a680fe468df7550ed18fbcae30e382252fdc35c6 (patch) | |
| tree | 241b57f57956bf3fb1ff81db3499e3d1f7bbcb95 /lib/test-string_helpers.c | |
| parent | 622fce81280aadb277dd3fc55c676b4bdc3e0527 (diff) | |
nl80211: do a struct assignment to radar_chandef instead of memcpy()
We are copying one entire structure to another of the same type in
nl80211_notify_radar_detection, so it's simpler and safer to do a
struct assignment instead of memcpy().
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
