OSDN Git Service
Jes Sorensen [Fri, 6 Dec 2013 11:29:36 +0000 (12:29 +0100)]
Use the kernel's atomic operations directly
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:35 +0000 (12:29 +0100)]
Remove more non Linux ioctl types
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:34 +0000 (12:29 +0100)]
Remove unused NDIS ioctl prototype header
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:33 +0000 (12:29 +0100)]
Remove unused proc_t
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:32 +0000 (12:29 +0100)]
Remove unused memory alignment size defines
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:31 +0000 (12:29 +0100)]
Remove useless void redefine
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:30 +0000 (12:29 +0100)]
Remove hopeless IN/OUT function argument prefix macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:29 +0000 (12:29 +0100)]
Removed WAPI nastiness
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:28 +0000 (12:29 +0100)]
Remove incomplete Intel WIDI support code
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:27 +0000 (12:29 +0100)]
Remove support for pre-2007 wireless extensions
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Fri, 6 Dec 2013 11:29:26 +0000 (12:29 +0100)]
Remove unused wireless.h file
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Larry Finger [Thu, 5 Dec 2013 02:31:41 +0000 (20:31 -0600)]
rtl8723au: Add firmware files to repo
These data were extracted from extended data statements in the code.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Jes Sorensen [Wed, 4 Dec 2013 12:33:13 +0000 (13:33 +0100)]
Remove support for kernels older than 2.6.32
Current enterprise distros use at least 2.6.32 (RHEL6 is based on
2.6.32, SLES11 is based on 3.0), and desktop distros are much more
uptodate.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:12 +0000 (13:33 +0100)]
Remove unused _OS_STATUS typedef
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:11 +0000 (13:33 +0100)]
Remove pointless irqL typedef
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:10 +0000 (13:33 +0100)]
Remove pointless list wrapping macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:09 +0000 (13:33 +0100)]
Remove a couple of memset's that are immediately overwritten by memcpy
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:08 +0000 (13:33 +0100)]
Remove more duplicated ieee80211 definitions
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:07 +0000 (13:33 +0100)]
Remove another windowsism
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:06 +0000 (13:33 +0100)]
Remove duplicate copy of ip header definitions/macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:05 +0000 (13:33 +0100)]
Remove duplicate copy of if_ether.h and use the kernel provided one
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Wed, 4 Dec 2013 12:33:04 +0000 (13:33 +0100)]
Start removing duplicated ieee80211 definitions
Switch to using the Linux kernel provided definitions
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Larry Finger [Wed, 4 Dec 2013 06:11:00 +0000 (00:11 -0600)]
rtl8723au: Remove CONFIG_USB_HCI
This parameter is always selected.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 05:18:08 +0000 (23:18 -0600)]
rtl8723au: Remove dead code associated with CONFIG_GSPI_HCI
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 04:45:43 +0000 (22:45 -0600)]
rtl8723au: Remove dead code that depends on CONFIG_SDIO_HCI
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 04:20:48 +0000 (22:20 -0600)]
rtl8723au: Remove dead code required for CONFIG_PCI_HCI
The driver is for USB.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 03:42:30 +0000 (21:42 -0600)]
rtl8723au: Finish removing IS_HARDWARE_TYPE_XXX macros
This driver supports only RTL8723AU devices.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 03:15:28 +0000 (21:15 -0600)]
rtl8723au: Remove more IS_HARDWARE_TYPE_XXX garbage
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 4 Dec 2013 03:01:17 +0000 (21:01 -0600)]
rtl8723au: Remove more IS_HARDWARE_TYPE_XXX macro usage
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Tue, 3 Dec 2013 19:21:47 +0000 (13:21 -0600)]
rtl8723au: Start removing IS_HARDWARE_xxxx macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Tue, 3 Dec 2013 18:27:43 +0000 (12:27 -0600)]
rtl8723au: Remove some trailing white space
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Jes Sorensen [Tue, 3 Dec 2013 17:27:17 +0000 (18:27 +0100)]
Remove another set of unecessary typedefs
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:16 +0000 (18:27 +0100)]
int is signed - no point in inventing an unnecessary sint type
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:15 +0000 (18:27 +0100)]
Remove gross PVOID type
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:14 +0000 (18:27 +0100)]
Remove hopeless Windows ULONG/USHORT/UCHAR types
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:13 +0000 (18:27 +0100)]
Remove more non Linux gibberish
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:12 +0000 (18:27 +0100)]
Remove semaphore wrappers
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:11 +0000 (18:27 +0100)]
Remove unused res_to_status() function
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:10 +0000 (18:27 +0100)]
Remove spinlock wrapping
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:09 +0000 (18:27 +0100)]
Another round of malloc/free wrapper removal
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:08 +0000 (18:27 +0100)]
Remove memcmp wrapper
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:07 +0000 (18:27 +0100)]
Remove memset wrapper
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:06 +0000 (18:27 +0100)]
Remove memcpy wrapper
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:05 +0000 (18:27 +0100)]
Remove custom Android hacks
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:04 +0000 (18:27 +0100)]
Remove atoi implementation and use sscanf instead
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:03 +0000 (18:27 +0100)]
Remove malloc debug hacks
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:02 +0000 (18:27 +0100)]
Remove various pieces of non Linux code
No need to carry around Windows/FreeBSD/random-embedded-arch code
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Tue, 3 Dec 2013 17:27:01 +0000 (18:27 +0100)]
Remove MP framework (Mass Production test code)
This code is not relevant for normal usage
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:52 +0000 (22:14 +0100)]
run through dos2unix
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:51 +0000 (22:14 +0100)]
Use kmalloc/kfree and check return value of kmalloc()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:50 +0000 (22:14 +0100)]
Use kzalloc instead of rtw_kzmalloc
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:49 +0000 (22:14 +0100)]
Replace rtw_mfree with kfree
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:48 +0000 (22:14 +0100)]
Use kmalloc/kfree instead of wrapper macros
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:46 +0000 (22:14 +0100)]
Replace malloc/free wrappers with proper kmalloc/kfree
In addition fix multiple memory leaks
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:45 +0000 (22:14 +0100)]
Don't call _rtw_mfree() directly from outside osdep_service.c
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:43 +0000 (22:14 +0100)]
Remove more non-Linux isms
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:42 +0000 (22:14 +0100)]
Remove some more unnecessary platform code
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Jes Sorensen [Mon, 2 Dec 2013 21:14:41 +0000 (22:14 +0100)]
Remove unused malloc2d/free2d
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Larry Finger [Mon, 2 Dec 2013 20:23:00 +0000 (14:23 -0600)]
rtl8723au: Remove trailing white space from include/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 20:22:08 +0000 (14:22 -0600)]
rtl8723au: Remove trailing white space from os_dep/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 20:21:00 +0000 (14:21 -0600)]
rtl8723au: Remove trailing white space for hal/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 20:19:55 +0000 (14:19 -0600)]
rtl8723au: Remove trailing white space from core/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 20:18:33 +0000 (14:18 -0600)]
rtl8723au: Remove C99 comments from hal/HalDMOutSrc8192C_CE.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 04:17:58 +0000 (22:17 -0600)]
rtl8723au: Remove C99 comments from hal/hal_com.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 04:15:41 +0000 (22:15 -0600)]
rtl8723au: Remove C99 comments from hal/Hal8723UHWImg_CE.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Mon, 2 Dec 2013 03:47:29 +0000 (21:47 -0600)]
rtl8723au: Remove C99 comments from hal/Hal8723PwrSeq.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 06:00:28 +0000 (00:00 -0600)]
rtl8723au: Remove C99 comments from core/rtw_xmit.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 05:54:40 +0000 (23:54 -0600)]
rtl8723au: Remove C99 comments from core/rtw_wlan_util.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:32:05 +0000 (22:32 -0600)]
rtl8723au: Remove C99 comments from core/rtw_tdls.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:17:18 +0000 (22:17 -0600)]
rtl8723au: Remove C99 comments from core/rtw_sta_mgt.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:14:40 +0000 (22:14 -0600)]
rtl8723au: Remove C99 comments from core/rtw_sreset.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:12:26 +0000 (22:12 -0600)]
rtl8723au: Remove C99 comments from core/rtw_rf.c and core/rtw_security.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 04:06:23 +0000 (22:06 -0600)]
rtl8723au: Remove C99 comments from core/rtw_pwrctrl.c and core/rtw_recv.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 03:47:57 +0000 (21:47 -0600)]
rtl8723au: Remove C99 comments from core/rtw_p2p.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sun, 1 Dec 2013 03:45:04 +0000 (21:45 -0600)]
rtl8723au: Remove C99 comments from core/rtw_mp_ioctl.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:47:19 +0000 (16:47 -0600)]
rtl8723au: Remove C99 comments from core/rtw_mp.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:41:14 +0000 (16:41 -0600)]
rtl8723au: Remove C99 comments from core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:25:34 +0000 (16:25 -0600)]
rtl8723au: Remove C99 comments from core/rtw_mlme.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:16:29 +0000 (16:16 -0600)]
rtl8723au: Remove C99 comments from core/rtw_led.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:13:41 +0000 (16:13 -0600)]
rtl8723au: Remove C99 comments from core/rtw_iol.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:12:23 +0000 (16:12 -0600)]
rtl8723au: Remove C99 comments from core/rtw_ioctl_set.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:10:00 +0000 (16:10 -0600)]
rtl8723au: Remove C99 comments from core/rtw_ioctl_query.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:08:28 +0000 (16:08 -0600)]
rtl8723au: Remove C99 comments from core/rtw_io.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:05:22 +0000 (16:05 -0600)]
rtl8723au: Remove C99 comments from core/rtw_ieee80211.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:03:18 +0000 (16:03 -0600)]
rtl8723au: Remove C99 comments from core/rtw_efuse.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 22:01:28 +0000 (16:01 -0600)]
rtl8723au: Remove C99 comments from core/rtw_debug.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 20:28:13 +0000 (14:28 -0600)]
rtl8723au: Remove C99 comments from core/rtw_cmd.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 20:20:38 +0000 (14:20 -0600)]
rtl8723au: Remove C99 comments from core/rtw_bt_mp.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 20:16:19 +0000 (14:16 -0600)]
rtl8723au: Remove C99 cfomments from core/rtw_br_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Sat, 30 Nov 2013 20:12:45 +0000 (14:12 -0600)]
rtl8723au: Remove C99 comments fro core/rtw_ap.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Tue, 12 Nov 2013 22:08:17 +0000 (16:08 -0600)]
rtl8723au: Modify README.md
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
kfuchs [Sat, 9 Nov 2013 17:36:29 +0000 (12:36 -0500)]
Added simple install instructions to README.md
Larry Finger [Thu, 31 Oct 2013 17:52:46 +0000 (12:52 -0500)]
rtl8723au: Fix buffer overrun potential
In a struct definition, an array Data is defined with one element; however,
the code refers to Data[1]. The length has been increased.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Wed, 23 Oct 2013 03:18:33 +0000 (22:18 -0500)]
rtl8723au: Fix typo in DKMS parameter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Fri, 18 Oct 2013 03:12:10 +0000 (22:12 -0500)]
rtl8723au: Set device type to wlan
From: Lennert Poettering
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
John Clemens [Mon, 14 Oct 2013 02:10:19 +0000 (22:10 -0400)]
DKMS support
Define CONFIG_RTL8723AS-VAU in the Makefile when KERNELRELEASE
is defined (as when compiling under DKMS). Add a dkms.conf file
and README.dkms with instructions on how to make it work.
Larry Finger [Mon, 7 Oct 2013 15:16:38 +0000 (10:16 -0500)]
rtl8723au: 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.
This problem was found for the RTL8188EU driver. As that driver and this one share
this part of the code, I have applied the same patch here.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Thu, 12 Sep 2013 15:17:13 +0000 (10:17 -0500)]
rtl8723au: Fix smatch errors in core/rtw_mlme.c
Smatch reports the following:
CHECK /home/finger/rtl8723au/core/rtw_mlme.c
/home/finger/rtl8723au/core/rtw_mlme.c:2774:25: error: directive in argument list
/home/finger/rtl8723au/core/rtw_mlme.c:2776:25: error: directive in argument list
/home/finger/rtl8723au/core/rtw_mlme.c:2780:25: error: directive in argument list
/home/finger/rtl8723au/core/rtw_mlme.c:2782:25: error: directive in argument list
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Thu, 12 Sep 2013 15:11:19 +0000 (10:11 -0500)]
rtl8723au: Fix smatch warning in hal/rtl8723a_phycfg.c
Smatch reports the following:
CHECK /home/finger/rtl8723au/hal/rtl8723a_phycfg.c
/home/finger/rtl8723au/hal/rtl8723a_phycfg.c:2212 phy_TxPwrIdxToDbm() warn: missing break? reassigning 'Offset'
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry Finger [Thu, 12 Sep 2013 15:09:13 +0000 (10:09 -0500)]
rtl8723au: Fix smatch errors in core/rtw_efuse.c
Smatch reports the following:
CHECK /home/finger/rtl8723au/core/rtw_efuse.c
/home/finger/rtl8723au/core/rtw_efuse.c:753 rtw_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8723au/core/rtw_efuse.c:763 rtw_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8723au/core/rtw_efuse.c:851 rtw_BT_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8723au/core/rtw_efuse.c:861 rtw_BT_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
All of these are off-by-one errors.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>