]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: pcie: Refactor iwl_queue_space
authorIdo Yariv <ido@wizery.com>
Mon, 15 Jul 2013 15:51:48 +0000 (11:51 -0400)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Aug 2013 12:38:01 +0000 (14:38 +0200)
commita9b292464311d32441cd3284109263d92c413a48
tree1616ea348a4df921403c3c7c6f77ff79bfc4ba63
parentf4f3c659846587aae9043d2df31f6434934965e1
iwlwifi: pcie: Refactor iwl_queue_space

Reduce the ambiguity spares to a single element if the window size is not
smaller than the queue size. If smaller, no spares are required at all.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c