diff options
author | Sara Sharon <sara.sharon@intel.com> | 2016-04-10 12:27:25 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2016-05-10 22:34:03 +0300 |
commit | 0ec84d1d1e6db6e0b4c1eb9bd9cdd2da64451da6 (patch) | |
tree | a5656e182d8481e83ea71fbf7e16016c39f19817 /drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c | |
parent | dd02fbeb8fedecd8b2d55fdfde664eaa05afac6f (diff) | |
download | linux-0ec84d1d1e6db6e0b4c1eb9bd9cdd2da64451da6.tar.xz |
iwlwifi: mvm: make phy_db size dynamic
Driver is agnostic to the number of the phy_db entries and
only serves the firmware as a pipe to move the data from init
image to RT image.
As the size of the arrays may change (as it does in 9000 device)
allocate it dynamically. Firmware sends the largest index first
so we can use this to know how much we should allocate.
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c')
0 files changed, 0 insertions, 0 deletions