commit | 8f019bfe0a23167d49aa5c364d229ae416f7e675 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Sep 21 10:17:04 2011 +0300 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Sep 26 17:26:03 2011 -0700 |
tree | 10c2d341d6a61dc96bdaeaaca5a21aa229774b22 | |
parent | 06bc69691bbdcc9a61c1fefceba081636b80435c [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>