OpenCloudOS-Kernel/drivers/staging/rtl8192e
Dan Carpenter 8f019bfe0a 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>
2011-09-26 17:26:03 -07:00
..
Kconfig staging/rtl81*: build as loadable modules only 2011-04-04 22:46:15 -07:00
Makefile staging: rtl8192e: Add endian checking switch to Makefile 2011-08-25 15:36:35 -07:00
TODO rtl8192e: Add a TODO 2011-08-23 20:04:16 -05:00
dot11d.c From: wlanfae <wlanfae@realtek.com> 2011-08-23 19:00:42 -05:00
dot11d.h From: wlanfae <wlanfae@realtek.com> 2011-08-23 19:00:42 -05:00
license From: wlanfae <wlanfae@realtek.com> 2011-08-23 19:00:42 -05:00
r819xE_phyreg.h Staging: rtl8192e: Code style fix for r819xE_phyreg.h 2010-03-03 16:42:30 -08:00
r8190P_def.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I 2011-08-25 10:05:08 -07:00
r8190P_rtl8256.c staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I 2011-08-25 10:05:08 -07:00
r8190P_rtl8256.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I 2011-08-25 10:05:08 -07:00
r8192E_cmdpkt.c staging: rtl8192e: Silence smatch info in r8192E_cmdpkt.c 2011-09-06 16:35:57 -07:00
r8192E_cmdpkt.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part I 2011-08-25 10:05:08 -07:00
r8192E_dev.c staging: rtl8192e: Fix smatch info output for r8192E_dev.c 2011-09-06 16:35:57 -07:00
r8192E_dev.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III 2011-08-25 10:05:10 -07:00
r8192E_firmware.c staging: rtl8192e: Fix sparse (non-endian) warnings - Part II 2011-08-25 15:36:35 -07:00
r8192E_firmware.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III 2011-08-25 10:05:10 -07:00
r8192E_hw.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III 2011-08-25 10:05:10 -07:00
r8192E_hwimg.c staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part III 2011-08-25 10:05:10 -07:00
r8192E_hwimg.h staging: rtl8192e: Fix compilation warnings 2011-08-23 21:50:58 -05:00
r8192E_phy.c staging: rtl8192e: Fix smatch warnings regarding large arrays on stack 2011-09-06 16:35:59 -07:00
r8192E_phy.h staging: rtl8192e: Fix smatch warnings regarding large arrays on stack 2011-09-06 16:35:59 -07:00
r8192E_phyreg.h From: wlanfae <wlanfae@realtek.com> 2011-08-23 19:00:42 -05:00
rtl819x_BA.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part V 2011-08-25 10:05:10 -07:00
rtl819x_BAProc.c staging: rtl8192e: Fix format warning 2011-09-06 16:53:38 -07:00
rtl819x_HT.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part V 2011-08-25 10:05:10 -07:00
rtl819x_HTProc.c staging: rtl8192e: Fix sparse (non-endian) messages - Part I 2011-08-25 15:36:34 -07:00
rtl819x_Qos.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VI 2011-08-25 10:05:11 -07:00
rtl819x_TS.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VI 2011-08-25 10:05:11 -07:00
rtl819x_TSProc.c staging: rtl8192e: Fix various problems noted by smatch 2011-09-06 16:36:00 -07:00
rtl_cam.c staging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pM 2011-08-25 15:36:34 -07:00
rtl_cam.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part VII 2011-08-25 10:05:11 -07:00
rtl_core.c Staging: rtl8192e: off by one in rtl8192_get_channel_map() 2011-09-26 17:26:03 -07:00
rtl_core.h staging: rtl8192e: Fix array overrun 2011-08-29 10:58:00 -07:00
rtl_crypto.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IX 2011-08-25 10:05:12 -07:00
rtl_debug.c staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IX 2011-08-25 10:05:12 -07:00
rtl_debug.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part IX 2011-08-25 10:05:12 -07:00
rtl_dm.c staging: rtl8192e: Fix sparse (non-endian) warnings - Part II 2011-08-25 15:36:35 -07:00
rtl_dm.h staging: rtl8192e: Cleanup checkpatch -f errors - Part X 2011-08-25 10:05:12 -07:00
rtl_eeprom.c staging: rtl8192e: Fix sparse (non-endian) warnings - Part II 2011-08-25 15:36:35 -07:00
rtl_eeprom.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI 2011-08-25 10:05:13 -07:00
rtl_ethtool.c rtl8192e: Remove extra ifdefs 2011-08-23 20:02:27 -05:00
rtl_pci.c staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVII 2011-08-25 10:05:15 -07:00
rtl_pci.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVII 2011-08-25 10:05:15 -07:00
rtl_pm.c staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII 2011-08-25 10:05:16 -07:00
rtl_pm.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII 2011-08-25 10:05:16 -07:00
rtl_ps.c staging: rtl8192e: Fix sparse (non-endian) warnings - Part II 2011-08-25 15:36:35 -07:00
rtl_ps.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII 2011-08-25 10:05:16 -07:00
rtl_wx.c staging: rtl8192e: Fix smatch warning in rtl_wx.c 2011-09-06 16:35:57 -07:00
rtl_wx.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XVIII 2011-08-25 10:05:16 -07:00
rtllib.h staging: rtl8192e: Fix smatch warnings regarding large arrays on stack 2011-09-06 16:35:59 -07:00
rtllib_crypt.c staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI 2011-08-25 10:05:13 -07:00
rtllib_crypt.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI 2011-08-25 10:05:13 -07:00
rtllib_crypt_ccmp.c staging: rtl8192e: Fix sparse (non-endian) messages - Part I 2011-08-25 15:36:34 -07:00
rtllib_crypt_tkip.c staging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pM 2011-08-25 15:36:34 -07:00
rtllib_crypt_wep.c staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI 2011-08-25 10:05:13 -07:00
rtllib_endianfree.h staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XI 2011-08-25 10:05:13 -07:00
rtllib_module.c staging: rtl8192e: Fix various problems noted by smatch 2011-09-06 16:36:00 -07:00
rtllib_rx.c staging: rtl8192e: Fix smatch warnings regarding large arrays on stack 2011-09-06 16:35:59 -07:00
rtllib_softmac.c staging: rtl8192e: Fix various problems noted by smatch 2011-09-06 16:36:00 -07:00
rtllib_softmac_wx.c staging: rtl8192e: Cleanup checkpatch -f warnings and errors - Part XV 2011-08-25 10:05:14 -07:00
rtllib_tx.c staging: rtl8192e: Fix sparse (non-endian) messages - Part I 2011-08-25 15:36:34 -07:00
rtllib_wx.c staging: rtl8192e: Remove MAC_FMT and MAC_ARG for %pM 2011-08-25 15:36:34 -07:00