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)
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>

No differences found