linux/drivers/staging/rtl8712
Dan Carpenter 832855354b Staging: rtl8712: signedness bug in init
PollingCnt is 20 and that means we loop 20 times and then run the
timeout code.  After the end of the loop PollingCnt should be -1 but
because it's an unsigned char, it's actually 255 and the timeout
code never runs.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-16 12:25:53 -08:00
..
basic_types.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
big_endian.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
drv_types.h staging: r8712u: Add module parameter to disable turbo mode 2010-08-31 10:59:52 -07:00
ethernet.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
farray.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
generic.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
hal_init.c staging: r8712u: Add module parameter to disable turbo mode 2010-08-31 10:59:52 -07:00
ieee80211.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
ieee80211.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
if_ether.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
ip.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
Kconfig staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
little_endian.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
Makefile Staging: rtl8712: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:45 -07:00
mlme_linux.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
mlme_osdep.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
mp_custom_oid.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
os_intfs.c staging: r8712u: Add module parameter to disable turbo mode 2010-08-31 10:59:52 -07:00
osdep_intf.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
osdep_service.h staging: Final semaphore cleanup 2010-10-30 12:12:50 +02:00
recv_linux.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
recv_osdep.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_byteorder.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_cmd.c staging: r8712u: Use 802.11bg mode to make a WEP connection 2010-08-31 10:59:52 -07:00
rtl871x_cmd.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_debug.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_eeprom.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_eeprom.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_event.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_ht.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_io.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_io.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_ioctl_linux.c staging: rtl8712: '&pointer[0]' to 'pointer' fix 2010-09-20 16:10:56 -07:00
rtl871x_ioctl_rtl.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_ioctl_rtl.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_ioctl_set.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_ioctl_set.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_ioctl.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_led.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_mlme.c staging: r8712u: Fix potential crash issue 2010-08-31 10:59:53 -07:00
rtl871x_mlme.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_mp_ioctl.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_mp_ioctl.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_mp_phy_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_mp.c staging: r8712u: Fix sparse warnings 2010-08-31 10:59:52 -07:00
rtl871x_mp.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_pwrctrl.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_pwrctrl.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_recv.c staging: r8712u: Fix sparse warnings 2010-08-31 10:59:52 -07:00
rtl871x_recv.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_rf.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_security.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_security.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_sta_mgt.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_wlan_sme.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_xmit.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl871x_xmit.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_cmd.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_cmd.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_cmdctrl_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_cmdctrl_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_debugctrl_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_debugctrl_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_edcasetting_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_edcasetting_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_efuse.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_efuse.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_event.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_fifoctrl_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_fifoctrl_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_gp_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_gp_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_hal.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_interrupt_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_io.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_led.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_macsetting_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_macsetting_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_powersave_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_powersave_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_ratectrl_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_ratectrl_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_recv.c staging: r8712u: Fix sparse warnings 2010-08-31 10:59:52 -07:00
rtl8712_recv.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_security_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_spec.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_syscfg_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_syscfg_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_timectrl_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_timectrl_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_wmac_bitdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_wmac_regdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_xmit.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
rtl8712_xmit.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
sta_info.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
swab.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
TODO staging: r8712u: Update copy-to list for patches 2010-08-31 15:20:06 -07:00
usb_halinit.c Staging: rtl8712: signedness bug in init 2010-11-16 12:25:53 -08:00
usb_intf.c staging: r8712u: Update driver version to v7_0.20100831 2010-08-31 10:59:53 -07:00
usb_ops_linux.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
usb_ops.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
usb_ops.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
usb_osintf.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
usb_vendor_req.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
wifi.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
wlan_bssdef.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
xmit_linux.c staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00
xmit_osdep.h staging: r8712u: Add the new driver to the mainline kernel 2010-08-20 10:15:30 -05:00