]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commite57426720f04587da79865176176f581cf79a11a
treea594da7dc18221c79f80d45a027afda2f27f4831
parent7b5d6043de31290de98e9232cbd9a07968aef5bd
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