iwlwifi: pcie: fix global table size
authorSara Sharon <sara.sharon@intel.com>
Mon, 14 Mar 2016 11:11:47 +0000 (13:11 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 30 Mar 2016 13:21:19 +0000 (16:21 +0300)
commit431469259df6ebc8e022b268bbb2d9bc5562f920
treed45cdcbc56c21a17a7053dc013e63ba475868980
parentdedfc0f3dba0713734d42efb8300760b27c5a54a
iwlwifi: pcie: fix global table size

My patch resized the pool size, but neglected to resize
the global table, which is obviously wrong since the global
table maps the pool's rxb to vid one to one. This results
in a panic in 9000 devices.
Add a build bug to avoid such a case in the future.

Fixes: 7b5424361ec9 ("iwlwifi: pcie: fine tune number of rxbs")
Reported-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/internal.h
drivers/net/wireless/intel/iwlwifi/pcie/rx.c