wlan: Use mem_alloc_copy_from_user_helper() in iw_softap_setwpsie

Function iw_softap_setwpsie() allocates memory and copies user
data using copy_from_user() function.
Replacing these two functions with a common helper function
mem_alloc_copy_from_user_helper().

Change-Id: Iff70c8d55af5db3e8e6cc3728546cd489c608ba1
CRs-Fixed: 681289
3 files changed
tree: 80de8c7112f7cb7de8f1f764ba862fd59339d277
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig