[PATCH 00/48] staging-next: rtl8723au: More fixes and removal of dead code

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Hi Greg, Please find attached another round of cleanups, removal of dead code, and tidying up most of the #ifdef CONFIG_8723AU_BT_COEXIST mess. Notably patch 10 fixes an OOPS case if a user tries to add a monitor interface - monitor mode still doesn't work, but at lea

[PATCH 40/48] staging: rtl8723au: usb_halinit.c: Remove no-op HAL_INIT_PROFILE_TAG()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/usb_halinit.c | 58 - 1 file changed, 16 insertions(+), 42 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/usb_halinit.c b/drivers/staging/rtl8723au/hal/usb_halinit.c index

[PATCH 19/48] staging: rtl8723au: Remove unused prototype rtw_cfg80211_issue_p2p_provision_request23a()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/include/ioctl_cfg80211.h b/drivers/staging/rtl8723au/include/ioctl_cfg80211.h index 256000f..63e921f 100644

[PATCH 46/48] staging: rtl8723au: Rename BTDM_FwC2hBtInfo8723A() to rtl8723a_fw_c2h_BT_info()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen In addition get rid of some pointless code obfuscating wrappers Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 9 ++--- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 5 ++--- drivers/staging/rtl8723au/include

[PATCH 03/48] staging: rtl8723au: rtw_xmit.c: Use ether_addr_copy()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_xmit.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_xmit.c b/drivers/staging/rtl8723au/core/rtw_xmit.c index 0c66d35..9060494

[PATCH 14/48] staging: rtl8723au: _cfg80211_rtw_mgmt_tx() clean up checking function return values

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

[PATCH 48/48] staging: rtl8723au: _InitQueueReservedPage(): Remove pointless brackets

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/usb_halinit.c | 40 + 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/usb_halinit.c b/drivers/staging/rtl8723au/hal/usb_halinit.c index

[PATCH 01/48] staging: rtl8723au: ieee80211.h: Remove some unused #defines

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ieee80211.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723au/include/ieee80211.h b/drivers/staging/rtl8723au/include/ieee80211.h index e69f1cc..69c0f5c 100644 --- a

[PATCH 44/48] staging: rtl8723au: Rename HALBT_InitBTVars8723A() rtl8723a_BT_init_hal_vars()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 2 +- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 5 ++--- drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h | 3 --- drivers/staging/rtl8723au/include

[PATCH 28/48] staging: rtl8723au: Rename BT_WifiScanNotify() rtl8723a_BT_wifiscan_notify()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Providing a dummy wrapper also allows removing some more CONFIG_8723AU_BT_COEXIST clutter Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_cmd.c| 7 ++- drivers/staging/rtl8723au/hal/hal_com.c | 4 +--- drivers/staging

[PATCH 15/48] staging: rtl8723au: Get rid of unused struct rtw_wdev_invit_info

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 19 --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 1 - 2 files changed, 20 deletions(-) diff --git a/drivers/staging/rtl8723au/include/ioctl_cfg80211.h b

[PATCH 42/48] staging: rtl8723au: Rename BT_WifiAssociateNotify() rtl8723a_BT_wifiassociate_notify()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 2 +- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 6 ++ drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h | 2 -- drivers/staging/rtl8723au/include

[PATCH 34/48] staging: rtl8723au: rtw_pwrctrl.c: Eliminate CONFIG_8723AU_BT_COEXIST #ifdefs

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_pwrctrl.c | 9 +++-- drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 2 +- drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h | 2 ++ 3 files changed, 6 insertions(+), 7 deletions

[PATCH 43/48] staging: rtl8723au: Make rtl8723a_set_BTCoex_AP_mode_FwRsvdPkt_cmd() a no-op when no co-exist enabled

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 -- drivers/staging/rtl8723au/include/rtl8723a_cmd.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c b/drivers

[PATCH 29/48] staging: rtl8723au: Rename BT_WifiMediaStatusNotify() rtl8723a_BT_mediastatus_notify()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_cmd.c| 12 +++- drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 8 ++-- drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h | 2 -- drivers/staging/rtl8723au

[PATCH 08/48] staging: rtl8723au: rtw_mlme.h: Remove a bunch of unused structs

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/rtw_mlme.h | 63 1 file changed, 63 deletions(-) diff --git a/drivers/staging/rtl8723au/include/rtw_mlme.h b/drivers/staging/rtl8723au/include/rtw_mlme.h index 129c524..d601c55

[PATCH 17/48] staging: rtl8723au: Remove some pointless cfg80211_* wrapper macros

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 19 --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 15 --- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/drivers/staging/rtl8723au

[PATCH 32/48] staging: rtl8723au: rtw_cmd.c: Remove last #ifdef CONFIG_8723AU_BT_COEXIST usage

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_cmd.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c index 646b59b..1696cb8

[PATCH 05/48] staging: rtl8723au: Make check_fwstate() return bool

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/rtw_mlme.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/include/rtw_mlme.h b/drivers/staging/rtl8723au/include/rtw_mlme.h index 1bb9e6c..1aafa26 100644 --- a

[PATCH 04/48] staging: rtl8723au: Don't explicitly check check_fwstate() == true

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_cmd.c | 12 +- drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 24 +--- drivers/staging/rtl8723au/core/rtw_led.c | 31 +- drivers/staging/rtl8723au

[PATCH 06/48] staging: rtl8723au: Don't check check_fwstate() == false

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen In addition, remove a followon check for false just after having checked for true. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 3 +-- drivers/staging/rtl8723au/core/rtw_led.c | 17 ++--- drivers/staging/rtl8723au/core

[PATCH 13/48] staging: rtl8723au: Delete unused rtw_cfg80211_set_mgnt_wpsp2pie()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 3 - drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 166 - 2 files changed, 169 deletions(-) diff --git a/drivers/staging/rtl8723au/include/ioctl_cfg80211.h b

[PATCH 37/48] staging: rtl8723au: odm.c: Rename BTDM_DisableEDCATurbo() to rtl8723a_BT_disable_EDCA_turbo()

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Make it return bool since it only returns true/false, and get rid of Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/odm.c | 4 +--- drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 4 ++-- drivers/staging/rtl8723au/include

[PATCH 26/48] staging: rtl8723au: Remove some CONFIG_8723AU_BT_COEXIST clutter

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_cmd.c | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_cmd.c b/drivers/staging/rtl8723au/core/rtw_cmd.c index db97ffb

[PATCH 45/48] staging: rtl8723au: rtl8723a_bt-coexist.c: Remove unnecessary #ifdef CONFIG_8723AU_BT_COEXIST

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen This file is only compiled if CONFIG_8723AU_BT_COEXIST=y Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c b/drivers/staging

[PATCH 47/48] staging: rtl8723au: Remove unused struct btdata_info

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h b/drivers/staging/rtl8723au/include/rtl8723a_bt-coexist.h index 2a6a100

[PATCH 23/48] staging: rtl8723au: Create rtl8723au_bt_intf.h

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Use this header for declaring functions that are currently #ifdef'ed out in the general code. Start by moving BTDM_1Ant8723A() there and renaming it appropriately. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_cmd.c | 10 dr

[PATCH 20/48] staging: rtl8723au: bInternalAutoSuspend is always false

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_pwrctrl.c| 13 ++--- drivers/staging/rtl8723au/include/rtw_pwrctrl.h | 1 - drivers/staging/rtl8723au/os_dep/os_intfs.c | 4 drivers/staging/rtl8723au/os_dep/usb_intf.c | 11

[PATCH 16/48] staging: rtl8723au: struct rtw_wdev_priv: Remove some never 'true' variables

2014-05-25 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ioctl_cfg80211.h | 3 --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 7 --- 2 files changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723au/include/ioctl_cfg80211.h b/drivers/staging

Re: [PATCH 27/48] staging: rtl8723au: Rename BTDM_Coexist() to rtl8723a_BT_do_coexist()

2014-05-26 Thread Jes Sorensen
Dan Carpenter writes: > On Sun, May 25, 2014 at 10:43:27PM +0200, jes.soren...@redhat.com wrote: >> --- a/drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h >> +++ b/drivers/staging/rtl8723au/include/rtl8723a_bt_intf.h >> @@ -22,6 +22,7 @@ >> bool rtl8723a_BT_using_antenna_1(struct rtw_adapter

Re: [PATCH 27/48] staging: rtl8723au: Rename BTDM_Coexist() to rtl8723a_BT_do_coexist()

2014-05-26 Thread Jes Sorensen
Dan Carpenter writes: > On Mon, May 26, 2014 at 12:46:09PM +0200, Jes Sorensen wrote: >> If you look at the patches, you'll notice that I made them functions >> when there were return values, only the ones returning void were done >> like this. If you can point out a

Re: [PATCH 9/18] staging: rtl8723au: Use kmemdup instead of kmalloc + memcpy

2014-05-26 Thread Jes Sorensen
Benoit Taine writes: > This issue was reported by coccicheck using the semantic patch > at scripts/coccinelle/api/memdup.cocci > > Signed-off-by: Benoit Taine > --- > Tested by compilation without errors. > > drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c |3 +-- > drivers/staging/rtl872

[PATCH 05/12] staging: rtl8723au: Use correct struct for WLAN_EID_HT_CAPABILITY

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen WLAN_EID_HT_CAPABILITY carries a struct ieee80211_ht_operation - use the right struct instead of a self invented one. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 6 +++--- drivers/staging/rtl8723au/include/wifi.h | 8 2 files

[PATCH 10/12] staging: rtl8723au: Rewrite update_beacon23a_info() tto use cfg80211_find_ie()

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c| 5 ++-- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 38 ++-- drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 9 +++--- 3 files changed, 22 insertions(+), 30

[PATCH 06/12] staging: rtl8723au: Eliminate struct HT_info_element

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Yet another duplicate version of struct ieee80211_ht_operation Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ap.c | 14 +++-- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 6 +++--- drivers/staging/rtl8723au/core/rtw_ioctl_set.c

[PATCH 04/12] staging: rtl8723au: Use struct ieee80211_ht_cap and associated #defines

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ap.c| 9 ++-- drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 11 ++-- drivers/staging/rtl8723au/core/rtw_mlme.c | 14 +++-- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 42

[PATCH 00/12] staging-next: rtl8723au: More fixes and duplicate defines

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Hi Greg, A smaller set of patches this time. It's mainly cleanups, removal of yet more locally duplicated structs, and some endian fixes. Note the endian fixes shouldn't really cause an urgeng 3.15 backport since I am unaware of any big endian hardware currently

[PATCH 12/12] staging: rtl8723au: collect_bss_info23a(): ieee80211_mgmt capab_info is little endian

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c index 4d6ec40..1e1f845

[PATCH 09/12] staging: rtl8723au: Remmove buddy-adapter linking

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen This sort of stuff should be handled by the bonding driver Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_pwrctrl.c | 16 drivers/staging/rtl8723au/core/rtw_wlan_util.c | 25 - drivers/staging/rtl8723au/include

[PATCH 11/12] staging: rtl8723au: collect_bss_info23a(): Collect beacon_interval correct

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Only retrieve beacon_interval from frames where it is present. This avoids setting BeaconPeriod to garbage for other frame types. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions

[PATCH 08/12] staging: rtl8723au: rtw_check_bcn_info23a(): Use capability bit define

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c b/drivers/staging/rtl8723au/core/rtw_wlan_util.c index 8c007cd..67fb7ec 100644

[PATCH 02/12] staging: rtl8723au: rtw_mlme.c: Remove some tab and parenthesis abuse

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 7170258

[PATCH 01/12] staging: rtl8723au: rtw_mlme_ext.c: Fix up some of the bad formatting

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 274 +++--- 1 file changed, 160 insertions(+), 114 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c

[PATCH 03/12] staging: rtl8723au: Use struct ieee80211_mcs_info to describe MCS information

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen The original RTL code defined the MCS information as a 16 byte array and blindly applied it's masking over the full array, ignoring the fact that only the first 10 bytes describe the rx_mask and the rest are different fields. Signed-off-by: Jes Sorensen --- drivers/st

[PATCH 07/12] staging: rtl8723au: Don't carry ht_cap_info and ht_param in struct wlan_bcn_info

2014-05-31 Thread Jes . Sorensen
From: Jes Sorensen These were just stored to check whether the beacon info had changed and print a debug message in this case. If we ever need this again, we can determine this change differently. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 22

[PATCH 0/1] staging-next: rtl8723au: Fix wrong mask when determining 40MHz channel location

2014-06-03 Thread Jes . Sorensen
From: Jes Sorensen Greg, One of the patches in my last set had a bad bug which made the driver mask out the bits used to determine the correct location of the 40MHz channel location. This one needs to go on top. Thanks, Jes Jes Sorensen (1): staging: rtl8723au: rtw_update_ht_cap23a(): Use

[PATCH 1/1] staging: rtl8723au: rtw_update_ht_cap23a(): Use correct mask when determining 40MHz channel location

2014-06-03 Thread Jes . Sorensen
From: Jes Sorensen commit 2dc5e6e90892d7247fbe8c25714dba3c0ba744e8 Author: Jes Sorensen Date: Tue May 27 13:43:12 2014 +0200 staging: rtl8723au: Eliminate struct HT_info_element Yet another duplicate version of struct ieee80211_ht_operation Signed-off-by: Jes Sorensen

[PATCH 03/76] staging: rtl8723au: rtw_mlme.c: Convert rtw_get_wps_ie23a() to cfg80211_find_vendor_ie()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index b1fa5dc..76e1797 100644

[PATCH 10/76] staging: rtl8723au: Declare rtw_get_wpa{2, }_cipher_suite() static

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 12 ++-- drivers/staging/rtl8723au/include/ieee80211.h | 2 -- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers

[PATCH 06/76] staging: rtl8723au: Remove obsolete rtw_get_wps_ie23a()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 44 -- drivers/staging/rtl8723au/include/ieee80211.h | 1 - 2 files changed, 45 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers

[PATCH 32/76] staging: rtl8723au: rtw_check_bcn_info23a(): Use ether_addr_equal() to check BSSID

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c b/drivers/staging/rtl8723au/core/rtw_wlan_util.c index 3195b44..a2c249f

[PATCH 07/76] staging: rtl8723au: rtw_get_bcn_info23a(): Use cfg80211_* to obtain crypto info

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 29 +- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers/staging/rtl8723au/core/rtw_ieee80211.c

[PATCH 20/76] staging: rtl8723au: Reference correct firmwarefiles with MODULE_FIRMWARE()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Add missing firmware references, and request the correct one. Reported-by: Larry Finger Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/os_intfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/os_dep

[PATCH 38/76] staging: rtl8723au: Allocate struct wlan_bssid_ex in collect_bss_info()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c| 52 drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 3 -- 2 files changed, 25 insertions(+), 30 deletions(-) diff --git a/drivers/staging/rtl8723au/core

[PATCH 05/76] staging: rtl8723au: rtw_ap.c: Convert from rtw_get_wps_ie23a() to cfg80211_find_vendor_ie()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Some of this is hackish, but so was the original code. This needs to be cleaned up eventually. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ap.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/drivers

[PATCH 17/76] staging: rtl8723au: issue_auth(): Convert to using struct ieee80211_mgmt

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen This reduces the dependency of rtw_set_fixed_ie23a() which is scheduled to go away. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 101 +++--- 1 file changed, 44 insertions(+), 57 deletions(-) diff --git a/drivers

[PATCH 26/76] staging: rtl8723au: ioctl_cfg80211.c: Use struct ieee80211_mgmt to build mgmt frame

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 30 --- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep

[PATCH 30/76] staging: rtl8723au: Remove unused #defines WEP_KEY_LEN and MGMT_QUEUE_NUM

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ieee80211.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8723au/include/ieee80211.h b/drivers/staging/rtl8723au/include/ieee80211.h index cb3f4fa..7d22825 100644 --- a/drivers

[PATCH 15/76] staging: rtl8723au: Be consistent in how htpriv.ht_option is checked

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ap.c| 6 +++--- drivers/staging/rtl8723au/core/rtw_mlme.c | 2 +- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 6 +++--- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 4 ++-- 4 files

[PATCH 00/76] staging-next: rtl8723au: More fixes for 3.16

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Greg, Thanks for pushing my other changes to Linus. This set goes on top of the set I sent you on 2014/05/31 and the fix from 2014/06/03. If you prefer I go back and submit it all as one large set, let me know. This set contains a number of fixes, including getting rid of

[PATCH 40/76] staging: rtl8723au: free_scanqueue(): Use _rtw_free_network23a()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Use _rtw_free_network23() so elements are freed in one place. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging

[PATCH 13/76] staging: rtl8723au: Remove WMM_ defines

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Only one is used, and only describes the size of an array defined in a local function. Use sizeof() in the local function to deobfuscate it. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 7 --- drivers/staging/rtl8723au/include/wifi.h | 7

[PATCH 09/76] staging: rtl8723au: Remove obsolete rtw_get_sec_ie23a()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 75 -- drivers/staging/rtl8723au/include/ieee80211.h | 2 - 2 files changed, 77 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers

[PATCH 36/76] staging: rtl8723au: rtw_survey_event_cb23a(): Use the correct types for the received arguments

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 44a5249..639dfca 100644 --- a/drivers

[PATCH 12/76] staging: rtl8723au: OnAssocRsp23a(): Use cfg80211_* to parse IEs

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 66 +++ 1 file changed, 37 insertions(+), 29 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c

[PATCH 14/76] staging: rtl8723au: Make struct ht_priv.ht_option a bool

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Match the return type of rtw_restructure_ht_ie23a() accordingly Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c| 4 ++-- drivers/staging/rtl8723au/include/rtw_ht.h | 2 +- drivers/staging/rtl8723au/include/rtw_mlme.h | 4 ++-- 3 files changed

[PATCH 11/76] staging: rtl8723au: Make WMM_param_handler23a() and HT_caps_handler23a() take a const u8 *

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 4 ++-- drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c b/drivers

[PATCH 02/76] staging: rtl8723au: rtw_mlme_ext.c: Convert rtw_get_wps_ie23a() to cfg80211_find_vendor_ie()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 15 +- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 40 +++--- drivers/staging/rtl8723au/include/ieee80211.h | 4 +-- 3 files changed, 34 insertions(+), 25

[PATCH 04/76] staging: rtl8723au: ioctl_cfg80211.c: Convert rtw_get_wps_ie23a() to cfg80211_find_vendor_ie()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Given that the IE len is stored in a u8, there is no point having a 512 buffer to store it, nor check if the size exceeds this size. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ieee80211.h | 2 +- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

[PATCH 37/76] staging: rtl8723au: Do not embed struct wlan_bssid_ex in struct survey_event

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Instead allocate it separately and reference it from survey_event. This will allow for us to pass it on later without having to copy it. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 5 - drivers/staging/rtl8723au/core/rtw_mlme_ext.c

[PATCH 23/76] staging: rtl8723au: issue_action_BSSCoexistPacket(): Use struct ieee80211_mgmt

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen This gets rid of the rtw_set_fixed_ie23a() usage here. Note that this abuses ieee80211_mgmt.u.action.u.chan_switch for now, since the correct defines are currently missing, and this one matches. Need to fix up the definitions in ieee80211.h and afterwards fix it up here

[PATCH 27/76] staging: rtl8723au: issue_action_BA23a(): Use struct ieee80211_mgmt to build action frames

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 149 +- 1 file changed, 74 insertions(+), 75 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c

[PATCH 08/76] staging: rtl8723au: rtw_wlan_util.c: Use cfg80211_* to determine crypto

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c b/drivers/staging/rtl8723au/core/rtw_wlan_util.c index 82904d0

[PATCH 19/76] staging: rtl8723au: Request correct firmware file for A-cut parts

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen The filename requested by the driver didn't match what we had sitting in /lib/firmware/ Reported-by: Ben Hutchings Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

[PATCH 42/76] staging: rtl8723au: OnAuth23a(): Use ether_addr_copy()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c index 14193b4..bed7eb7 100644

[PATCH 25/76] staging: rtl8723au: Let cfg80211 handle public action management frames

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen The driver shouldn't be dealing with public action management frames. Let these go directly to the cfg80211 layer which can defer them to userland if needed. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 26 drivers/st

[PATCH 24/76] staging: rtl8723au: Do not xmit BSS Coexistence management action frames

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen The driver should not be issuing BSS Coexistence management action frames when scanning. This isn't required by the spec, and if needed, these should come from wpa_s instead. Recommended by Johannes Berg. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au

[PATCH 43/76] staging: rtl8723au: Get rid of IW_ESSID_MAX_SIZE

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 3 ++- drivers/staging/rtl8723au/include/ieee80211.h | 2 -- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a

[PATCH 22/76] staging: rtl8723au: issue_action_spct_ch_switch23a(): Use struct ieee80211_mgmt

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 32 +++ 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c

[PATCH 39/76] staging: rtl8723au: collect_bss_info(): Don't memset() what we just kzalloc()'d

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c index 02180fc..14193b4 100644 --- a/drivers

[PATCH 21/76] staging: rtl8723au: _issue_deauth(): Use struct ieee80211_mgmt to build frame

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 27 ++- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c

[PATCH 29/76] staging: rtl8723au: Remove duplicate defines of IEEE80211_HT_PARAM_CHA_SEC_*

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 10 -- drivers/staging/rtl8723au/include/ieee80211.h | 5 - 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b

[PATCH 31/76] staging: rtl8723au: Remove some unused 80211 header parsing macros

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/ieee80211.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723au/include/ieee80211.h b/drivers/staging/rtl8723au/include/ieee80211.h index 7d22825..c2c57c7 100644 --- a

[PATCH 28/76] staging: rtl8723au: Remove obsolete rtw_set_fixed_ie23a()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ieee80211.c | 8 drivers/staging/rtl8723au/include/ieee80211.h | 1 - 2 files changed, 9 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ieee80211.c b/drivers/staging/rtl8723au/core

[PATCH 18/76] staging: rtl8723au: issue_assocrsp(): Use struct ieee80211_mgmt instead of rtw_set_fixed_ie23a()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 33 +++ 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c

[PATCH 01/76] staging: rtl8723au: rtw_get_wps_ie23a(): Remove unused dest pointer wps_ie

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ap.c | 7 +-- drivers/staging/rtl8723au/core/rtw_ieee80211.c| 7 +-- drivers/staging/rtl8723au/core/rtw_mlme.c | 2 +- drivers/staging/rtl8723au/core/rtw_mlme_ext.c | 6

[PATCH 41/76] staging: rtl8723au: rtw_stadel_event_callback23a(): Remove superfluous memset()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 7c99c37..bcc6893 100644 --- a/drivers/staging/rtl8723au

[PATCH 54/76] staging: rtl8723au: rtw_do_join23a(): Use correct error return values

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Don't mix true/fail with _SUCCESS/_FAIL as return value Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ioctl_set.c b/drivers/st

[PATCH 55/76] staging: rtl8723au: Minor debug message fixup

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 2a0c43a..31cf1ac 100644 --- a

[PATCH 68/76] staging: rtl8723au: Move rtw_do_join23a() to rtw_mlme.c and declare it static

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ioctl_set.c| 33 drivers/staging/rtl8723au/core/rtw_mlme.c | 38 +-- drivers/staging/rtl8723au/include/rtw_ioctl_set.h | 1 - 3 files changed, 36

[PATCH 67/76] staging: rtl8723au: rtw_do_join23a(): Don't start scanning if network isn't found

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Don't start running network scans if trying to connect to a network not in our cache. Let the 802.11 stack do it's job instead. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 85 -- 1 file changed, 13

[PATCH 72/76] staging: rtl8723au: rtw_set_802_11_bssid23a_list_scan(): Use __func__ to print function name

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ioctl_set.c b/drivers/staging/rtl8723au/core/rtw_ioctl_set.c index b58cd9e

[PATCH 56/76] staging: rtl8723au: Don't prepend debug console messages with 'ERROR '

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/include/rtw_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/include/rtw_debug.h b/drivers/staging/rtl8723au/include/rtw_debug.h index a69d6e2..b6b0173 100644

[PATCH 50/76] staging: rtl8723au: cfg80211_rtw_connect(): Simplify ssid preparation

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Since we just matched sme->{ssid,ssid_len} to pnetwork->network.Ssid.{ssid,ssid_len} we can simplify the copy and move it to just before the call to rtw_set_ssid(). Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 11 ---

[PATCH 48/76] staging: rtl8723au: cfg80211_rtw_connect(): Clean up various bits

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 53 +-- 1 file changed, 20 insertions(+), 33 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep

[PATCH 52/76] staging: rtl8723au: rtw_set_ssid(): This is never called with _FW_UNDER_LINKING

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c index 2cb2c7e..3819368 100644 --- a

[PATCH 76/76] staging: rtl8723au: rtw_cfg80211_set_wpa_ie(): Avoid pointless memcpy

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen There is no point copying a buffer, just to scan it and then free it again. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8723au

[PATCH 60/76] staging: rtl8723au: rtw_surveydone_event_callback23a(): Remove superfluous memset()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_mlme.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_mlme.c b/drivers/staging/rtl8723au/core/rtw_mlme.c index 4a146fb..77a0a4a 100644 --- a/drivers/staging/rtl8723au

[PATCH 58/76] staging: rtl8723au: Introduce rtw_do_join_network()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/core/rtw_ioctl_set.c | 2 -- drivers/staging/rtl8723au/core/rtw_mlme.c | 46 -- drivers/staging/rtl8723au/include/rtw_mlme.h | 2 ++ 3 files changed, 30 insertions(+), 20 deletions

[PATCH 66/76] staging: rtl8723au: rtw_set_ssid(): Use rtw_do_join_network()

2014-06-09 Thread Jes . Sorensen
From: Jes Sorensen We already have the wlan_network we wish to join, hence it's pointless to go back to the scanned_queue and pull it out of there, before running the join logic. Signed-off-by: Jes Sorensen --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 25 +++--

<    1   2   3   4   5   6   7   8   >