net/mac80211/rx.c: fix off-by-one
authorAdrian Bunk <bunk@kernel.org>
Wed, 23 Apr 2008 09:51:28 +0000 (12:51 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Apr 2008 01:25:35 +0000 (21:25 -0400)
commit13d8fd2d15fdd492078bedb9fde87c901a4e4df0
treea2595be4acebc17d98baae7f484c1907076abd42
parent1ebebea8e844d01c80b93b8ee4d696ee7c0cbc27
net/mac80211/rx.c: fix off-by-one

This patch fixes an off-by-one in net/mac80211/rx.c introduced by
commit 8318d78a44d49ac1edf2bdec7299de3617c4232e
(cfg80211 API for channels/bitrates, mac80211 and driver conversion)
and spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c