[PATCH 1/7] staging: wilc1000: removes function 'init_tcp_tracking()'

2016-03-15 Thread Leo Kim
This patch removes function 'init_tcp_tracking()'. The function is an unnecessary return. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wl

[PATCH 4/7] staging: wilc1000: removes duplicate wilc variable setting

2016-03-15 Thread Leo Kim
This patches removes duplicate wilc variable setting. This value has already been set to wl variable previously. Replace wilc with wl as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH 2/7] staging: wilc1000: wilc_spi.c: removes debug print log

2016-03-15 Thread Leo Kim
This patches removes unnecessary debug print logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_spi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_spi.c b/drivers/staging/wilc1000/wilc_spi.c index d41b8b6..4268e2f 100644 --- a/drivers/staging

[PATCH 5/7] staging: wilc1000: changes an ambiguous debug messages

2016-03-15 Thread Leo Kim
This patches changes an ambiguous debug messages. The device types are both SDIO or SPI. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000

[PATCH 3/7] staging: wilc1000: removes duplicate vif variable setting

2016-03-15 Thread Leo Kim
This patches removes duplicate vif variable setting. This value has already been set previously. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c

[PATCH 7/7] staging: wilc1000: removes an unnecessary if-condition

2016-03-15 Thread Leo Kim
This patch removes an unnecessary if-condition. Regardless of an if-condition is performed unconditionally '_end_' statement. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c

[PATCH 6/7] staging: wilc1000: removes goto definitions from wilc_wlan_firmware_download

2016-03-15 Thread Leo Kim
This patch removes goto definitions from wilc_wlan_firmware_download function. Goto '_fail_1' feature is error return. It returns error type directly without result variable replacement as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 8 ++-- 1 file

[PATCH] staging: wilc1000: fixed kernel panic when firmware is not started

2016-03-19 Thread Leo Kim
This patch fixed the problems caused by if firmware is not started. That is why, in nl80211 put current TX power in interface info. If firmware is not started, this function(get_tx_power) does not work. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 7 +++ 1

[PATCH 02/11] staging: wilc1000: wilc_frame_register: removes unused hif_drv

2016-03-25 Thread Leo Kim
This patch removes unused hif_drv of wilc_frame_register function. It's perform an unnecessary null check and debug print log. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc1000/host_interf

[PATCH 04/11] staging: wilc1000: replaces g_struct_frame_reg with frame_reg

2016-03-25 Thread Leo Kim
This patch replaces g_struct_frame_reg with frame_reg. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 12 ++-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 +- 3 files changed, 11

[PATCH 03/11] staging: wilc1000: removes typedef of struct struct_frame_reg

2016-03-25 Thread Leo Kim
This patch removes typedef of struct struct_frame_reg. Renames the struct_frame_reg to frame_reg as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 06/11] staging: wilc1000: removes unused dead codes

2016-03-25 Thread Leo Kim
This patch removes unused dead codes that define custom feature. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 760d44d1..db624ef

[PATCH 05/11] staging: wilc1000: replaces frame_type with type of struct frame_reg

2016-03-25 Thread Leo Kim
This patch replaces frame_type with type of struct frame_reg. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 8 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 4 ++-- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2 +- 3 files changed, 7

[PATCH 01/11] staging: wilc1000: removes WIRELESS_EXT

2016-03-25 Thread Leo Kim
This patch removes WIRELESS_EXT. Does not used the WIRELESS_EXT define. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/Kconfig b/drivers/staging/wilc1000/Kconfig index dce9cee..73f7fef 100644 --- a/drivers

[PATCH 09/11] staging: wilc1000: removes unused define

2016-03-25 Thread Leo Kim
This patch removes unused define. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 2 -- drivers/staging/wilc1000/wilc_wlan_if.h | 9 - 2 files changed, 11 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index

[PATCH 10/11] staging: wilc1000: removes define USE_TX_BACKOFF_DELAY_IF_NO_BUFFERS

2016-03-25 Thread Leo Kim
This patch removes define USE_TX_BACKOFF_DELAY_IF_NO_BUFFERS and use it's feature codes. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_w

[PATCH 08/11] staging: wilc1000: replaces memcmp with ether_addr_equal_unaligned

2016-03-25 Thread Leo Kim
This patch replaces memcmp with ether_addr_equal_unaligned. Warning reported by checkpatch.pl - Prefer ether_addr_equal() or ether_addr_equal_unaligned() over memcmp() Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions

[PATCH 07/11] staging: wilc1000: removes unused debug flags

2016-03-25 Thread Leo Kim
This patch removes unused debug flags. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan_if.h | 12 1 file changed, 12 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan_if.h b/drivers/staging/wilc1000/wilc_wlan_if.h index 83cf84d..119b313 100644 --- a

[PATCH 11/11] staging: wilc1000: removes unused local variable

2016-03-25 Thread Leo Kim
This patch removes unused local variable. This variable is operation definition that back off from sending packets for some time. However, that has been deleted operation code. That is removes all relative code. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 18

[PATCH 2/7] staging: wilc1000: removes duplicate del_timer_sync

2016-04-01 Thread Leo Kim
This patch removes del_timer_sync(&periodic_rssi) which was already performed this action. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc

[PATCH 1/7] staging: wilc1000: changes logic when happened mq_send fail

2016-04-01 Thread Leo Kim
This patch changes logic when happened mq_send fail. The check as a result value that mq_send fail. But, regardless of the result value then perform a semaphore up. That is an occur that semaphore locking. Add to 'else' routine and move to 'else' position a semaphore up. Si

[PATCH 4/7] staging: wilc1000: removes unnecessary test code

2016-04-01 Thread Leo Kim
This patch removes unnecessary test code that mac address hardcoding setting. This test code is support to old firmware. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers

[PATCH 5/7] staging: wilc1000: add set to null after release firmware

2016-04-01 Thread Leo Kim
This patch add set to null after release firmware. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 47c0132..48bbfa2 100644

[PATCH 6/7] staging: wilc1000: adds a cfg80211_disconnected() function

2016-04-01 Thread Leo Kim
as already performed disconnect. If wilc->close value was set to true, adds a call to cfg80211_disconnected(). Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgop

[PATCH 3/7] staging: wilc1000: txq_thread_started: replaces a semaphore with a completion

2016-04-01 Thread Leo Kim
This patch replaces a semaphore(txq_thread_started) with a completion. Struct semaphore txq_thread_started is used to signal completion of txq thread. It is better to use completion than semaphore for this case. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 10

[PATCH 7/7] staging: wilc1000: adds a check routine when performed del_key()

2016-04-01 Thread Leo Kim
gth of wep. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 1ac835b..85031f7 10

[PATCH 03/12] staging: wilc1000: renames u16TagParamOffset variable

2016-01-27 Thread Leo Kim
This patch renames u16TagParamOffset variable to tag_param_offset to avoid camelcase. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging

[PATCH 04/12] staging: wilc1000: renames u16index variable

2016-01-27 Thread Leo Kim
This patch renames u16index variable to index to remove the prefix variable defined name. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b

[PATCH 08/12] staging: wilc1000: rename variable s32Error

2016-01-27 Thread Leo Kim
This patch renames variable s32Error to result to avoid CamelCase naming convention. Also, remove the unused variable s32Error and replace with direct return. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 19 +-- 1 file changed, 9 insertions(+), 10

[PATCH 06/12] staging: wilc1000: wilc_parse_network_info(): renames local variables

2016-01-27 Thread Leo Kim
This patch renames to avoid camelcase, changes follow are: - pstrNetworkInfo to network_info - u8MsgType to msg_type - u8MsgID to msg_id - u16MsgLen to msg_len - u16WidID to wid_id - u16WidLen to wid_len - pu8WidVal to wid_val Signed-off-by: Leo Kim --- drivers/staging/wilc1000

[PATCH 07/12] staging: wilc1000: wilc_parse_network_info(): renames local inner variables

2016-01-27 Thread Leo Kim
This patch renames to avoid camelcase, changes follow are: - pu8TimElm to tim_elm - pu8IEs to ies - u16IEsLen to ies_len - u32Tsf_Lo to tsf_lo - u32Tsf_Hi to tsf_hi And, remove the prefix variable defined name, below are: - u8index to index - pu8msa to msa Signed-off-by: Leo Kim

[PATCH 01/12] staging: wilc1000: coreconfigurator.c : remove over-commenting

2016-01-27 Thread Leo Kim
-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 141 +--- 1 file changed, 1 insertion(+), 140 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index d101393..37d40bb 100644 --- a/drivers

[PATCH 02/12] staging: wilc1000: renames u16RxLen variable

2016-01-27 Thread Leo Kim
This patch renames u16RxLen variable to rx_len to avoid camelcase. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging

[PATCH 05/12] staging: wilc1000: wilc_parse_network_info(): renames function variables

2016-01-27 Thread Leo Kim
This patch renames to avoid camelcase, changes follow are: - pu8MsgBuffer to msg_buffer - ppstrNetworkInfo to ret_network_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 16 drivers/staging/wilc1000/coreconfigurator.h | 2 +- 2 files changed, 9

[PATCH 10/12] staging: wilc1000: wilc_parse_assoc_resp_info(): renames local variables

2016-01-27 Thread Leo Kim
This patch renames to avoid camelcase, changes follow are: - pstrConnectRespInfo to connect_resp_info - u16AssocRespLen to assoc_resp_len - pu8IEs to ies - u16IEsLen to ies_len Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 34 ++--- 1 file

[PATCH 11/12] staging: wilc1000: wilc_dealloc_assoc_resp_info(): renames function variables

2016-01-27 Thread Leo Kim
This patch renames to avoid camelcase, changes follow are: - pstrConnectRespInfo to connect_resp_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 14 +++--- drivers/staging/wilc1000/coreconfigurator.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions

[PATCH 12/12] staging: wilc1000: wilc_dealloc_network_info(): renames function variables

2016-01-27 Thread Leo Kim
This patch renames to avoid camelcase, changes follow are: - pstrNetworkInfo to network_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 14 +++--- drivers/staging/wilc1000/coreconfigurator.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff

[PATCH 09/12] staging: wilc1000: wilc_parse_assoc_resp_info(): renames function variables

2016-01-27 Thread Leo Kim
This patch renames to avoid camelcase, changes follow are: - pu8Buffer to buffer - u32BufferLen to buffer_len - ppstrConnectRespInfo to ret_connect_resp_info Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 16 drivers/staging/wilc1000

[PATCH 1/6] staging: wilc1000: fix warnings for line over 80 characters

2016-01-28 Thread Leo Kim
From: Chris Park This patch fixes warnings reported by checkpatch.pl for line over 80 characters Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 33 - drivers/staging/wilc1000/wilc_wlan.h | 3 ++- 2 files changed

[PATCH 2/6] staging: wilc1000: remove useless log message

2016-01-28 Thread Leo Kim
From: Chris Park This patch remove useless log message in wilc_wlan.c file Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 128 ++- 1 file changed, 22 insertions(+), 106 deletions(-) diff --git a/drivers/staging

[PATCH 5/6] staging: wilc1000: remove warnings missing a blank line after declarations

2016-01-28 Thread Leo Kim
From: Chris Park This patch remove warnings reported by checkpatch.pl for missing a blank line after declarations Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c

[PATCH 6/6] staging: wilc1000: Optimize code of wilc_get_chipid function

2016-01-28 Thread Leo Kim
From: Chris Park This patch optimize code of wilc_get_chipid function. u8 type changed to boolean type and removed unnecessary if statement. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 4 ++-- drivers/staging/wilc1000/wilc_wlan.c| 19

[PATCH 3/6] staging: wilc1000: remove useless function

2016-01-28 Thread Leo Kim
From: Chris Park This patch remove useless function remove_TCP_related in wilc_wlan.c file Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers

[PATCH 4/6] staging: wilc1000: remove unnecessary braces

2016-01-28 Thread Leo Kim
From: Chris Park This patch remove warnings reported by checkpatch.pl for unnecessary braces Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 2/7] staging: wilc1000: wilc_msgqueue.c: removes debug print log

2016-01-31 Thread Leo Kim
This patches removes unnecessary debug print logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_msgqueue.c | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_msgqueue.c b/drivers/staging/wilc1000

[PATCH 1/7] staging: wilc1000: wilc_wfi_cfgoperations.c: replaces PRINT_ER with netdev_err

2016-01-31 Thread Leo Kim
This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 86 --- 1 file changed, 31 insertions(+), 55 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 5/7] staging: wilc1000: remove unused log message using the CORECONFIG_DBG tag

2016-01-31 Thread Leo Kim
From: Chris Park This patch remove unused log messages using the CORECONFIG_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 1 - drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000

[PATCH 6/7] staging: wilc1000: remove unused log message using the HOSTINF_DBG tag

2016-01-31 Thread Leo Kim
From: Chris Park This patch remove unused log message using the HOSTINF_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 198 +- drivers/staging/wilc1000/linux_wlan_common.h | 2 - drivers/staging

[PATCH 7/7] staging: wilc1000: remove unused log message using the TX_DBG tag

2016-01-31 Thread Leo Kim
From: Chris Park This patch remove unused log message using the TX_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c| 4 drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_debugfs.c | 2

[PATCH 4/7] staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err

2016-01-31 Thread Leo Kim
This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 38 1 file changed, 12 insertions(+), 26 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.c

[PATCH 3/7] staging: wilc1000: wilc_wlan.c: replaces PRINT_ER with netdev_err

2016-01-31 Thread Leo Kim
This patches replaces PRINT_ER with netdev_err. Removes unnecessary debug logs as well. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 1efd61a

[PATCH 02/26] staging: wilc1000: removes function 'wilc_dealloc_assoc_resp_info()'

2016-02-02 Thread Leo Kim
This patch removes function wilc_dealloc_assoc_resp_info()'. Does not need this function which only free memory. Therefore, this function is removed and changed directly with kfree. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 22 -- dr

[PATCH 03/26] staging: wilc1000: remove typedef from tstrConnectRespInfo

2016-02-02 Thread Leo Kim
This patch removes typedef from the struct tstrConnectRespInfo and renames it to connect_resp_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 6 +++--- drivers/staging/wilc1000/coreconfigurator.h | 6 +++--- drivers/staging/wilc1000/host_interface.c | 2 +- 3

[PATCH 01/26] staging: wilc1000: removes function 'wilc_dealloc_network_info()'

2016-02-02 Thread Leo Kim
This patch removes function 'wilc_dealloc_network_info()'. Does not need this function which only free memory. Therefore, this function is removed and changed directly with kfree. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 22 -- drive

[PATCH 06/26] staging: wilc1000: renames s8rssi of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames s8rssi variable to rssi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 6 +++--- drivers/staging/wilc1000

[PATCH 05/26] staging: wilc1000: remove typedef from pstrNetworkInfo

2016-02-02 Thread Leo Kim
This patch removes typedef from the struct pstrNetworkInfo and renames it to network_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 7 --- drivers/staging/wilc1000/coreconfigurator.h | 7 --- drivers/staging/wilc1000/host_interface.c

[PATCH 04/26] staging: wilc1000: renames struct connect_resp_info variables

2016-02-02 Thread Leo Kim
This patch renames to avoid camelcase and remove prefix names, changes follow are: - u16capability to capability - u16ConnectStatus to status - u16AssocID to assoc_id - pu8RespIEs to ies - u16RespIEsLen to ies_len Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 14

[PATCH 08/26] staging: wilc1000: renames au8ssid of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames au8ssid variable to ssid. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 3 ++- drivers/staging/wilc1000

[PATCH 07/26] staging: wilc1000: renames u16CapInfo of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames u16CapInfo variable to cap_info. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000

[PATCH 09/26] staging: wilc1000: renames u8SsidLen of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames u8SsidLen variable to ssid_len. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000

[PATCH 10/26] staging: wilc1000: renames au8bssid of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames au8bssid variable to bssid. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 10 +++ drivers/staging/wilc1000

[PATCH 12/26] staging: wilc1000: renames u8DtimPeriod of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames u8DtimPeriod variable to dtim_period. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000

[PATCH 11/26] staging: wilc1000: renames u16BeaconPeriod of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames u16BeaconPeriod variable to beacon_period. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- drivers/staging/wilc1000

[PATCH 14/26] staging: wilc1000: renames struct connect_resp_info variables

2016-02-02 Thread Leo Kim
This patch renames to avoid camelcase changes follow are: - u32TimeRcvdInScanCached to time_scan_cached - u32TimeRcvdInScan to time_scan Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 4 ++-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 15

[PATCH 21/26] staging: wilc1000: renames u64Tsf of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames u64Tsf variable to tsf_hi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++--- 3 files changed, 5 insertions(+), 5

[PATCH 19/26] staging: wilc1000: renames pJoinParams of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames pJoinParams variable to join_params. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging

[PATCH 22/26] staging: wilc1000: remove unnecessary wilc_rx_complete function

2016-02-02 Thread Leo Kim
From: Chris Park This patch remove unnecessary wilc_rx_complete function because this function only print unused log message. remove unused has_packet variable nomore. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 5 - drivers

[PATCH 17/26] staging: wilc1000: renames u32Tsf of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames u32Tsf variable to tsf_lo. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a

[PATCH 18/26] staging: wilc1000: renames struct connect_resp_info variables

2016-02-02 Thread Leo Kim
This patch renames to avoid camelcase changes follow are: - pu8IEs to ies - u16IEsLen to ies_len Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 7 +++--- drivers/staging/wilc1000/coreconfigurator.h | 4 +-- drivers/staging/wilc1000/host_interface.c

[PATCH 20/26] staging: wilc1000: renames strRssi of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames strRssi variable to str_rssi. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 13 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 13/26] staging: wilc1000: renames u8channel of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames u8channel variable to ch. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 2 +- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 14 +++--- 3 files changed, 9 insertions

[PATCH 15/26] staging: wilc1000: renames bNewNetwork of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames bNewNetwork variable to new_network. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/host_interface.c | 4 ++-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 3 files changed, 4 insertions(+), 4

[PATCH 16/26] staging: wilc1000: renames u8Found of connect_resp_info structure

2016-02-02 Thread Leo Kim
This patch renames u8Found variable to found. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.h | 2 +- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 25/26] staging: wilc1000: remove unnecessary log message using GENERIC_DBG tag

2016-02-02 Thread Leo Kim
From: Chris Park This patch remove unnecessary log message using GENERIC_DBG tag. Needed log messages has changed netdev_dbg from PRINT_D. And removes variables that were used to log message. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c

[PATCH 24/26] staging: wilc1000: remove unused debug tag

2016-02-02 Thread Leo Kim
From: Chris Park This patch remove unused debug tag INT_DBG, LOCK_DBG, BUS_DBG, MEM_DBG and FIRM_DBG Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 15 --- drivers/staging/wilc1000/wilc_debugfs.c | 5 +++-- 2 files

[PATCH 23/26] staging: wilc1000: remove unused log message using the RX_DBG tag

2016-02-02 Thread Leo Kim
From: Chris Park This patch remove unused log message using the RX_DBG tag Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- drivers/staging/wilc1000/wilc_wlan.c | 5

[PATCH 26/26] staging: wilc1000: remove warnings line over 80 characters

2016-02-02 Thread Leo Kim
This patch removes the warnings reported by checkpatch.pl for line over 80 characters. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers

[PATCH 02/24] staging: wilc1000: linux_mon.c: removes debug logs

2016-02-17 Thread Leo Kim
This patches removes unnecessary debug logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index 21f35d7

[PATCH 03/24] staging: wilc1000: linux_mon.c: replaces PRINT_ER with netdev_err

2016-02-17 Thread Leo Kim
This patches replaces PRINT_ER with netdev_err. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index 9edc6e9..3048e88 100644 --- a

[PATCH 01/24] staging: wilc1000: wilc_wlan.c: removes PRINT_ER

2016-02-17 Thread Leo Kim
This patches removes PRINT_ER that is unnecessary debug logs. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index ef65e8e..50f85ac 100644 --- a

[PATCH 04/24] staging: wilc1000: linux_mon.c: add to check routine

2016-02-17 Thread Leo Kim
This patch adds the return value which needs the check and prints the error message when it fails. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging

[PATCH 05/24] staging: wilc1000: removes potential null dereference

2016-02-17 Thread Leo Kim
key'. (kmalloc returns null) - wilc_wfi_cfgoperations.c:1201 add_key() error: potential null dereference 'g_key_ptk_params.key'. (kmalloc returns null) Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 6 ++ 1 file changed, 6 insertions(+) diff --

[PATCH 06/24] staging: wilc1000: host_interface.c: removes unnecessary log message

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers

[PATCH 08/24] staging: wilc1000: linux_mon.c: removes comments

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary comments. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.c b/drivers/staging/wilc1000/linux_mon.c index

[PATCH 09/24] staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes the unnecessary log messages which is used with the HOSTAPD_DBG tag. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 88 +-- 1 file changed, 1 insertion(+), 87 deletions(-) diff

[PATCH 07/24] staging: wilc1000: linux_mon.c: removes unnecessary log message

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_mon.c | 42 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/drivers

[PATCH 11/24] staging: wilc1000: host_interface.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 31 --- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/drivers

[PATCH 14/24] staging: wilc1000: removes unused CFG80211_DBG tag

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unused CFG80211_DBG tag. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 4 +--- drivers/staging/wilc1000/wilc_debugfs.c | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a

[PATCH 10/24] staging: wilc1000: removes unused HOSTAPD_DBG tag

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unused HOSTAPD_DBG tag. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 4 +--- drivers/staging/wilc1000/wilc_debugfs.c | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a

[PATCH 13/24] staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. And, it adds a 'break' statement in accordance with the switch-case rule. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 15/24] staging: wilc1000: coreconfigurator.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/coreconfigurator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging

[PATCH 12/24] staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages and relate variables. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 233 +- 1 file changed, 11 insertions(+), 222 deletions(-) diff --git a/drivers

[PATCH 16/24] staging: wilc1000: host_interface.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers

[PATCH 20/24] staging: wilc1000: wilc_wlan.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index

[PATCH 21/24] staging: wilc1000: removes unused region feature

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unused region feature on debug message. Also, removes the functions of related in this feature. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 17 ++- drivers/staging/wilc1000/wilc_debugfs.c

[PATCH 19/24] staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 17/24] staging: wilc1000: host_interface.c: replace PRINT_ER with netdev_err

2016-02-17 Thread Leo Kim
From: Chris Park This patch replaces PRINT_ER with netdev_err. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/host_interface.c | 288 +++--- 1 file changed, 144 insertions(+), 144 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH 22/24] staging: wilc1000: removes usused PRINT_XXX(region...)

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unused PRINT_XXX(region...) because already removed in used to region feature of whole wilc source. Also, removes unnecessary related region extern variable. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h

[PATCH 18/24] staging: wilc1000: linux_wlan.c: removes unnecessary log messages

2016-02-17 Thread Leo Kim
From: Chris Park This patch removes unnecessary log messages. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index

[PATCH 24/24] staging: wilc1000: moves LINUX_RX_SIZE, LINUX_TX_SIZE

2016-02-17 Thread Leo Kim
From: Chris Park This patch moves LINUX_RX_SIZE and LINUX_TX_SIZE to wilc_wlan.h file because there are only used to wilc_wlan.c file. Signed-off-by: Chris Park Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan_common.h | 4 drivers/staging/wilc1000/wilc_wlan.h | 3

  1   2   >