linux/drivers/staging/rtl8188eu/hal
Hans de Goede 6982f867e0 Revert "Staging: drivers: rtl8188eu: use sizeof(*ptr) instead of sizeof(struct)"
This reverts commit 99aded71b5 ("Staging: drivers: rtl8188eu: use
sizeof(*ptr) instead of sizeof(struct)").

This commit is wrong, as adapt->HalData has a type of "void *", so
now we are allocating a much to small struct, which causes the driver
to overwrite random memory which leads to a non working driver and
various system crashes.

Cc: Jacky Boen <aqiank@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-17 11:21:45 -07:00
..
Hal8188ERateAdaptive.c Staging: rtl8188eu: Hal8188ERateAdaptive: Use x instead of x != NULL. 2016-03-28 07:30:36 -07:00
bb_cfg.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
fw.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
hal_com.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
hal_intf.c Staging: rtl8188eu: hal_intf: Use x instead of x != NULL. 2016-03-28 07:30:36 -07:00
mac_cfg.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
odm.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
odm_HWConfig.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
odm_RTL8188E.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
phy.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
pwrseq.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
pwrseqcmd.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rf.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rf_cfg.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rtl8188e_cmd.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rtl8188e_dm.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rtl8188e_hal_init.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rtl8188e_rxdesc.c Staging: rtl8188eu: rtl8188e_rxdesc: Use !x instead of x == NULL. 2016-03-28 07:30:36 -07:00
rtl8188e_xmit.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rtl8188eu_led.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rtl8188eu_recv.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
rtl8188eu_xmit.c staging: rtl8188eu: Remove license paragraph with mailing address 2016-03-28 07:30:36 -07:00
usb_halinit.c Revert "Staging: drivers: rtl8188eu: use sizeof(*ptr) instead of sizeof(struct)" 2016-06-17 11:21:45 -07:00