]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: off by one sanity check
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 18 Jun 2013 07:28:46 +0000 (10:28 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 18 Jun 2013 18:46:47 +0000 (14:46 -0400)
commitd1f252a59c255f0826b1bbbd943bd18e9e16107e
treea594da7dc18221c79f80d45a027afda2f27f4831
parent850036bac5e600c3718a813e52e669050affff36
ath10k: off by one sanity check

This should be >= ARRAY_SIZE() instead of > ARRAY_SIZE().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath10k/pci.c