]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: refactor RXBs reclaiming code
authorSara Sharon <sara.sharon@intel.com>
Mon, 15 Feb 2016 17:30:49 +0000 (19:30 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 6 Mar 2016 20:00:17 +0000 (22:00 +0200)
commit9b2915db03f0b1162b0a4e0abdc595b9dabf3585
treeec4744d6ea3bdb196fea743ccdff60b391f8473c
parentd698d9f7a586ad9f14aa51da74e95e8364f51e90
iwlwifi: pcie: refactor RXBs reclaiming code

Change the code to move rxbs directly from the allocator's
list to the queue's free list. This makes the code more
readable, saves the interim array and the double loop over
the free RBs.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/rx.c