diff options
| author | Luca Coelho <luciano.coelho@intel.com> | 2019-04-17 09:34:40 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2019-04-26 14:02:11 +0300 |
| commit | a680fe468df7550ed18fbcae30e382252fdc35c6 (patch) | |
| tree | 241b57f57956bf3fb1ff81db3499e3d1f7bbcb95 /lib/mpi/mpiutil.c | |
| parent | 622fce81280aadb277dd3fc55c676b4bdc3e0527 (diff) | |
| download | linux-a680fe468df7550ed18fbcae30e382252fdc35c6.tar.xz | |
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/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
