iwlwifi: scan: don't pass large argument by value
authorAyala Beker <ayala.beker@intel.com>
Mon, 17 Jun 2019 17:15:55 +0000 (20:15 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:17 +0000 (15:31 +0300)
commitb5baefdad2fe9368498df95af8cee854193d0ea3
tree2ff347d6828b3f44777f4d438847b5ac4a113ce9
parentbab3cb9285a736165bbd51d327ee78d0edc061b2
iwlwifi: scan: don't pass large argument by value

Function iwl_mvm_scan_set_legacy_probe_req() second argument
size is too large to be passed by value.
Fix it to be passed by reference.

Signed-off-by: Ayala Beker <ayala.beker@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c