Commit graph

80 commits

Author SHA1 Message Date
Larry Finger
242c9f54cc rtl8188eu: Fix some checkpatch warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-08-30 13:19:58 -05:00
Larry Finger
3a3339b715 rtl8188eu: Replace degub macro DBG_871X with DBG_88E
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:38:30 -05:00
Larry Finger
16d2a24227 rtl8188eu: Change "}else{" and variants to "} else {"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:27:00 -05:00
Larry Finger
0a97479cee rtl8188eu: Change "){" to ") {"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:24:16 -05:00
Larry Finger
c137ff21e5 rtl8188eu: Change "==0" to "== 0"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:22:58 -05:00
Larry Finger
c818db1282 rtl8188eu: Change "switch(" to "switch ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:05:44 -05:00
Larry Finger
8e22f0d2e8 rtl8188eu: Change "while(" to "while ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:04:12 -05:00
Larry Finger
aa89a39a09 rtl8188eu: Remove spaces before quoted newline
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:00:19 -05:00
Larry Finger
e2285839e9 rtl8188eu: Remove most typedef statements from include/osdep_service.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-16 08:54:18 -05:00
Larry Finger
e233420466 rtl8188eu: Remove executable mode for all source files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 16:54:44 -05:00
Larry Finger
2339d6c52a rtl8188eu: Remove DBG_CONFIG_ERROR_DETECT
This symbol is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:21:04 -05:00
Larry Finger
15018af1a2 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_DYNAMIC_ALLOCATE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:50:02 -05:00
Larry Finger
993b4435cb rtl8188eu: Fix most errors from smatch
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-10 11:18:03 -05:00
Larry Finger
dd62caa1e1 rtl8199eu: Replace TRUE and FALSE with true and false
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:25:27 -06:00
Larry Finger
9decc528d8 rtl8188eu: Remove CONFIG_SUPPORT_USB_INT
This one is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:56:24 -06:00
Larry Finger
32c09fed58 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:21:19 -06:00
Larry Finger
51e00090df rtl8188eu: Remove CONFIG_PREALLOC_RECV_SKB
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:17:55 -06:00
Larry Finger
5a7239faf3 rtl8188eu: Remove CONFIG_USB_RX_AGGREGATION
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:23:17 -06:00
Larry Finger
42a1d09fe1 rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_RX
This was never defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:06:11 -06:00
Larry Finger
ad60073d21 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-25 22:07:13 -06:00
Larry Finger
e932bd9250 rtl8188eu: Remove CONFIG_LPS_LCLK
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 20:22:38 -06:00
Larry Finger
8c846f57f0 rtl8188eu: Remove CONFIG_INTERRUPT_BASED_TXBCN and derivatives
These are never selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:59:38 -06:00
Larry Finger
592c85f4e2 rtl8188eu: Convert C90 comments
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 18:51:33 -06:00
Larry Finger
9b5b5c4e12 rtl8188eu: Replace wrapper for memset
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 14:58:09 -06:00
Larry Finger
529328fd3d rtl8188eu: Replace wrapper for memcpy
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 14:50:04 -06:00
Larry Finger
276a62340a rtl8188eu: Fix more endian issues
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-16 13:00:49 -06:00
Larry Finger
020675ff42 rtl8188eu: Remove code selected when CONFIG_CONCURRENT_MODE is defined
This parameter can only be set for RTL8192DU.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-15 14:31:30 -06:00
Larry Finger
481d6c817d rtl8188eu: Clean up more Sparse messages
There are still problems remaining, but those are believed to be cosmetic.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-29 15:27:28 -06:00
Larry Finger
b2e37eb332 rtl8188eu: Do some cleanup in hal/usb_ops_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 23:44:54 -06:00
Larry Finger
64a0fd240e rtl8188eu: Fix an endian issue that was missed
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 18:31:33 -06:00
Larry Finger
a8e1fbf1f9 rtl8188eu: Remove __func_enter__ and __func_exit__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 16:20:25 -06:00
Larry Finger
06334102cd rtl8188eu: Replace _FALSE and _TRUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:13:24 -06:00
Larry Finger
b6b121512b rtl8188eu: Remove dead code inside #if 0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:00:11 -06:00
Larry Finger
bb33327257 rtl8188eu: Remove all trailing spaces from code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 00:59:46 -06:00
Larry Finger
202d20077c rtl8192eu: Replace typedefs for struct adapter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 17:13:53 -06:00
Larry Finger
494792ba07 rtl8188eu: Flatten directory hal/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 22:09:56 -06:00
Larry Finger
bad0b4cde4 rtl8188eu: Remove cases of two or more blank lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 18:00:05 -06:00
Larry Finger
e91077579f rtl8188eu: Remove _func_enter_ and _func_exit_ statements
Kernel tracing is more effective.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 16:31:15 -06:00
Larry Finger
91938194fd rtl8188eu: Make this code look exactly like the code in the kernel version
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-11-29 16:10:20 -06:00
Larry Finger
19db43ecbd rtl8188eu: Backport kernel version
This driver was added to the kernel with version 3.12. The changes in that
version are now brought back to the GitHub repo. Essentually all of the code
is updated.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-19 12:45:47 -05:00
Larry Finger
f4d1258158 r8188eu: Fix skb leak in usb_read_port_complete()
In the completion routine for a usb_fill_bulk_urb() call, an skb is
leaked whenever the status of the USB transaction is not zero. A call
to skb_put() is needed to fix the problem.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-07 10:13:38 -05:00
Álvaro Fernández Rojas
9365e8f151 Remove unused variables from hal files. 2013-09-27 21:41:36 +02:00
Larry Finger
4749e2c19e rtl8188eu: Fix smatch warning in hal/usb_ops_linux.c
Smatch shows the following:
  CHECK   /home/finger/rtl8188eu/hal/usb_ops_linux.c
/home/finger/rtl8188eu/hal/usb_ops_linux.c:630 usb_read_port() warn: variable dereferenced before check 'precvbuf' (see line 627)

The code is refactored.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:58:13 -05:00
Larry Finger
7446992dc4 rtl8188eu: Remove include/circ_buf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-15 20:09:00 -05:00
Larry Finger
a311b57c32 rtl8188eu: Fix remaining checkfile errors in hal/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-08 22:23:49 -05:00
Larry Finger
2bd2f4b4c8 rtl8188eu: Convert typedef for _adapter, etc.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 20:08:39 -05:00
Larry Finger
689d01adf6 rtl8188eu: Convert typedef for _queue to struct __queue
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 17:55:38 -05:00
Larry Finger
3e3d47445a rtl8188eu: Convert typedef for _pkt into struct sk_buff
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 17:03:54 -05:00
Larry Finger
2685b52404 rtl8188eu: Replace several local size defines/typedefs with kernel header version
These include the following:

SIZE_T => size_t
SSIZE_T => ssize_t
SIZE_PTR => size_t

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 12:19:14 -05:00
Larry Finger
41ad3e27c6 rtl8188eu: Convert some typedef statements from include/osdep_service.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:39:20 -05:00