From: Emmanuel Grumbach Date: Fri, 26 Aug 2011 06:11:03 +0000 (-0700) Subject: iwlagn: fix the check of IWLAGN_FIRST_AMPDU_QUEUE X-Git-Tag: v3.2-rc1~129^2~287^2^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=effcea16e554b4d7497bbcfc80b9baca8e017691;p=pandora-kernel.git iwlagn: fix the check of IWLAGN_FIRST_AMPDU_QUEUE BUILD_BUG_ON(ARRAY_SIZE(iwlagn_ipan_queue_to_tx_fifo) != IWLAGN_FIRST_AMPDU_QUEUE); This check can be buggy. IWLAGN_FIRST_AMPDU_QUEUE has to be greater than the ARRAY_SIZE of iwlagn_ipan_queue_to_tx_fifo. Signed-off-by: Emmanuel Grumbach Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed