summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e
Commit message (Collapse)AuthorAgeFilesLines
* Staging: fix wireless drivers dependsRandy Dunlap2009-10-301-1/+1
| | | | | | | | | | These drivers can (erroneously) be enabled even when CONFIG_NET=n, CONFIG_NETDEVICES=n, CONFIG_WLAN=n, etc. Stop this. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8187se/rtl8192e/rtl8192su: allow module unloadHerton Ronaldo Krzesinski2009-10-304-43/+13
| | | | | | | | | | | | | On rtl81* additions, they had its wireless stack made builtin instead of separated modules. But try_module_get/module_put in stack were kept, they are uneeded with the stack builtin and makes rtl81* modules impossible to remove on a system with an rtl81* card. request_module calls are also uneeded with stack builtin, so remove them too. Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Add #include <linux/vmalloc.h>Jeff Mahoney2009-10-091-0/+1
| | | | | | | | | This driver uses vmalloc but for whatever reason vmalloc.h isn't included on ppc. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Drop unnecessary NULL testJulia Lawall2009-09-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The result of container_of should not be NULL. In particular, in this case the argument to the enclosing function has passed though INIT_WORK, which dereferences it, implying that its container cannot be NULL. A simplified version of the semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ identifier fn,work,x,fld; type T; expression E1,E2; statement S; @@ static fn(struct work_struct *work) { ... when != work = E1 x = container_of(work,T,fld) ... when != x = E2 - if (x == NULL) S ... } // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: fix timeouts on firmware downloadGreg Kroah-Hartman2009-09-151-14/+16
| | | | | | | | | | | We need to actually wait a specific ammount of time, not just hope that a set number of loops will be long enough. Based on a conversation with Ralink, and a proposed patch for their older kernel driver. Cc: david woo <xinhua_wu@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: fix for stack bugGreg Kroah-Hartman2009-09-153-16/+11
| | | | | | | | | This should be a fix for the lockup bug when attaching to an access point. Patch came from a diff from RealTek. Hopefully it resolves the issue. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: remove annoying printk()Greg Kroah-Hartman2009-09-151-1/+1
| | | | | | | This message doesn't need to be constantly sent to the syslog, it's nothing but annoying gibberish. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: remove unneeded ieee80211 filesGreg Kroah-Hartman2009-09-1518-2248/+0
| | | | | | These files are not even built or used, so just remove them. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: coding style cleanups on r819xE_firmware.cGreg Kroah-Hartman2009-09-151-169/+160
| | | | | | | | This cleans up everything but a few 80 column issues in the r819xE_firmware.c file. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: remove another firmware header file not being usedGreg Kroah-Hartman2009-09-153-2865/+14
| | | | | | | | | | | The built-in firmware images are never used, the firmware files are downloaded to the device through the standard firmware interface. This removes the firmware header file as it's not ever used. It also removes a .h file as it is not needed. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: remove firmware header file not being usedGreg Kroah-Hartman2009-09-152-3665/+1
| | | | | | | | | This removes the r819xP firmware file that is never used. The size of the built code after this patch is identical to before it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: remove kernel version checksGreg Kroah-Hartman2009-09-158-502/+1
| | | | | | | | | This removes a lot of code that is never built in to the driver. The size of the built code after this patch is identical to before it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: remove #if 0 sectionsGreg Kroah-Hartman2009-09-155-685/+2
| | | | | | | | | This removes a lot of code that is never built in to the driver. The size of the built code after this patch is identical to before it. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: compile fixesJeff Mahoney2009-09-152-9/+0
| | | | | | | | This patch removes -fhard-float and the software float helpers. In-kernel floating point is not allowed. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: remove unused functionsGreg Kroah-Hartman2009-09-153-425/+0
| | | | | | | This removes a number of unused functions. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: fix lots of sparse warningsGreg Kroah-Hartman2009-09-159-171/+145
| | | | | | | | This removes a number of static and extern warnings that sparse complains about. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add Realtek 8192 PCI wireless driverGreg Kroah-Hartman2009-09-1564-0/+54782
This wireless driver should work for the Realtek 8192 PCI devices. It comes directly from Realtek and has been tested to work on at least one laptop in the wild. Cc: Anthony Wong <awong1@novell.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud