cfg80211: Use kmemdup in cfg80211_gen_new_ie()
authorYueHaibing <yuehaibing@huawei.com>
Mon, 25 Feb 2019 12:38:49 +0000 (12:38 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 29 Mar 2019 10:22:55 +0000 (11:22 +0100)
commit90abf96abd9bb00f36c8d3640255e6bfa73f7495
tree83f1210eef2e5332b96ed54267ad889a4a000bc1
parent4856bfd230985e43e84c26473c91028ff0a533bd
cfg80211: Use kmemdup in cfg80211_gen_new_ie()

Use kmemdup rather than duplicating its implementation

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c