]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit459b9f0af99ab12dc5e86d7004ca7fd5a3003a38
treea2595be4acebc17d98baae7f484c1907076abd42
parent24cb79549478015b9ab65d6f81efb5acc32dee18
net/mac80211/rx.c: fix off-by-one

This patch fixes an off-by-one in net/mac80211/rx.c introduced by
commit 51ee50647e972c33b1110f6aaa7d7e005adfc06f
(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