From: Dan Carpenter Date: Wed, 21 Sep 2011 07:17:04 +0000 (+0300) Subject: Staging: rtl8192e: off by one in rtl8192_get_channel_map() X-Git-Tag: v3.2-rc1~169^2^2~376 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f019bfe0a23167d49aa5c364d229ae416f7e675;p=pandora-kernel.git Staging: rtl8192e: off by one in rtl8192_get_channel_map() COUNTRY_CODE_MAX is not a valid country code. We're off by one here. This gets passed to Dot11d_Channelmap() where it's used as an offset into the ChannelPlan[] array. Signed-off-by: Dan Carpenter Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed