iwlwifi: use kmemdup instead of kmalloc+memcpy
authorAndrei Epure <epure.andrei@gmail.com>
Sun, 10 Mar 2013 13:22:33 +0000 (15:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2013 13:17:07 +0000 (14:17 +0100)
commit5649ce429e81b77919c0029a02edf44df3be7797
tree11bb5a2d4bea3d647a5f6a476236beff3314bdcc
parent398e8c6c4eea39853a80cc1513f80026c1a62519
iwlwifi: use kmemdup instead of kmalloc+memcpy

Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/iwl-test.c