iwlwifi: mvm: fix scan offload for BGN SKU
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 20 Feb 2014 12:58:30 +0000 (14:58 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 9 Mar 2014 17:16:46 +0000 (19:16 +0200)
commit660925371b9c0545ab41a65d38b47e98e16c1757
tree50afad0b9ff2adf3dd677014901b8d973adb0c8a
parent14cfca7152ae5d10b15baf01c7fd60f0f0871062
iwlwifi: mvm: fix scan offload for BGN SKU

BGN SKU won't scan on 5.2GHz obviously, but the firmware
still expects the driver to reserve space for the the probe
request for the 5.2GHz band.
Fix this by allocating space and leave it empty.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=69541

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c