commit | a680fe468df7550ed18fbcae30e382252fdc35c6 | [log] [tgz] |
---|---|---|
author | Luca Coelho <luciano.coelho@intel.com> | Wed Apr 17 09:34:40 2019 +0300 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Apr 26 13:02:11 2019 +0200 |
tree | 241b57f57956bf3fb1ff81db3499e3d1f7bbcb95 | |
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>