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

2016-04-01 Thread Leo Kim
. Signed-off-by: Leo Kim <leo@atmel.com> --- 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..8

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_

[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 <leo@atmel.com> --- 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

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

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

[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. Signed-off-by: Leo Kim

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/wi

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

2016-04-01 Thread Leo Kim
This patch removes del_timer_sync(_rssi) which was already performed this action. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wi

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 6 -- 1 file changed, 4 inse

[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 <leo@atmel.com> --- 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..1

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

2016-03-25 Thread Leo Kim
This patch removes unused define. Signed-off-by: Leo Kim <leo@atmel.com> --- 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/wi

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/s

[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 <leo@atmel.com> --- 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

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 8 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 4 ++-- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2

[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 <leo@atmel.com> --- drivers/staging/wilc1000/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/Kconfig b/drivers/staging/wilc1000/Kconfig index dce9cee..7

[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 <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/s

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 12 ++-- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 8 drivers/staging/wilc1000/wilc_wfi_netdevice.h | 2

[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 <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/s

[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 <leo@atmel.com> --- drivers/staging/wi

[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 <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wi

[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 <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 8 ++---

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/s

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/d

[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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 10 -- 1 file changed, 4 insertions(+), 6 del

[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 <leo@atmel.com> --- 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

[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 <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wi

[PATCH 2/2] staging: wilc1000: Revert "staging: wilc1000: remove spaces around '->'"

2016-02-23 Thread Leo Kim
This reverts commit 6c2ab2398b88 ("staging: wilc1000: remove spaces around '->'"). It had applied from a incorrectly commit a1b56a4c5054 ("staging: wilc1000: wilc_wfi_cfgoperations.c: removes unnecessary log messages"). Signed-off-by: Leo Kim <leo@atmel.com>

[PATCH 1/2] staging: wilc1000: removes unnecessary retry 3 times

2016-02-23 Thread Leo Kim
This patch removes unnecessary retry 3 times and related variable. Actually the retry 3 times sentence, don't retry at all. Repeats conditions are that until read a chip-id and written a register. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 7 +++-

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

2016-02-22 Thread Leo Kim
This patches removes unnecessary debug logs. Signed-off-by: Leo Kim <leo@atmel.com> --- 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/wi

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_mon.c | 42 --

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

2016-02-22 Thread Leo Kim
This patches replaces PRINT_ER with netdev_err. Signed-off-by: Leo Kim <leo@atmel.com> --- 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 5

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

2016-02-22 Thread Leo Kim
This patches removes PRINT_ER that is unnecessary debug logs. Signed-off-by: Leo Kim <leo@atmel.com> --- 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 3

[PATCH V4 00/24] staging: wilc1000: Resend V4

2016-02-22 Thread Leo Kim
ing: wilc1000: wilc_wlan.c: removes unnecessary log messages staging: wilc1000: removes unused region feature staging: wilc1000: removes usused PRINT_XX(region...) staging: wilc1000: moves to define values staging: wilc1000: moves LINUX_RX_SIZE, LINUX_TX_SIZE Leo Kim (5): staging: wilc1000

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

2016-02-22 Thread Leo Kim
This patch removes the error reported by smatch. - wilc_wfi_cfgoperations.c:674 scan() error: potential null dereference 'strHiddenNetwork.net_info'. (kmalloc returns null) Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 ++

[PATCH V4 23/24] staging: wilc1000: moves to define values

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch moves DEBUG, INFO, WRN and ERR values to wilc_debugfs.c file because this is only used to wilc_debugfs.c file. And, removes unnecessary WILC_DEBUGFS and else-case variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> 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 <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- driver

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused PRINT_XX(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 <chris.p...@atmel.com> Signed-off-by:

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 14 +++--- 1 file changed, 3

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused region feature on debug message. Also, removes the functions of related in this feature. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/l

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch replaces PRINT_ER with netdev_err. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 284 +++--- 1 file chang

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 2 insertion

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/driver

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/coreconfigurator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deleti

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages and relate variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 233 +---

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused CFG80211_DBG tag. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 4 +--- drivers/staging/wilc1000/wilc_debugfs.c

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 31 -

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes the unnecessary log messages which is used with the HOSTAPD_DBG tag. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cf

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused HOSTAPD_DBG tag. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 4 +--- drivers/staging/wilc1000/wilc_debugfs.c

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. And, it adds a 'break' statement in accordance with the switch-case rule. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- driver

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary comments. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_mon.c | 4 1 file changed, 4 deletions(-) diff --git a/driver

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

2016-02-22 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 5 - 1 file changed, 5

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

2016-02-22 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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_mon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_mo

[PATCH RESEND 10/10] staging: wilc1000: removes linux_wlan_common.h file

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes linux_wlan_common.h file and also removes the following preprocessor at files that include it: - #include 'linux_wlan_common.h' Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.co

[PATCH RESEND 09/10] staging: wilc1000: remove useless define in linux_wlan_common.h file

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes useless define in linux_wlan_common.h file Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 32 --

[PATCH RESEND 08/10] staging: wilc1000: move MODALIS and GPIO_NUM define to wilc_wlan.h file

2016-02-21 Thread Leo Kim
m> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_wlan.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/driver

[PATCH RESEND 07/10] staging: wilc1000: move WILC_MULTICAST_TABLE_SIZE define to wilc_wlan_if.h file

2016-02-21 Thread Leo Kim
t;chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_wlan_if.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/driver

[PATCH RESEND 04/10] staging: wilc1000: removes unnecessary wilc_debug print log

2016-02-21 Thread Leo Kim
This patch removes unnecessary wilc_debug print log. The print log was written when if condition fail. The condition is chip-id check function. Also, replaces this condition with normal function. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 4 +---

[PATCH RESEND 05/10] staging: wilc1000: removes unnecessary variable of wilc_mac_cfg_t structure

2016-02-21 Thread Leo Kim
This patch removes unnecessary variable of wilc_mac_cfg_t structure. The variable is debug print function pointer. Removes all what used this variable. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 7 --- 1 file changed, 7 deletions(-) diff

[PATCH RESEND 06/10] staging: wilc1000: wilc_wlan_cfg_init: changes unused argument

2016-02-21 Thread Leo Kim
This patch changes the argument of the wilc_wlan_cfg_init function, wilc_debug to void type because wilc_debug function is not used any more. In addition, finally removes wilc_debug and related variables. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> 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 <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- driver

[PATCH V3 23/24] staging: wilc1000: moves to define values

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch moves DEBUG, INFO, WRN and ERR values to wilc_debugfs.c file because this is only used to wilc_debugfs.c file. And, removes unnecessary WILC_DEBUGFS and else-case variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused PRINT_XX(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 <chris.p...@atmel.com> Signed-off-by:

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused region feature on debug message. Also, removes the functions of related in this feature. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/l

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 14 +++--- 1 file changed, 3

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/driver

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch replaces PRINT_ER with netdev_err. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 284 +++--- 1 file chang

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/coreconfigurator.c | 4 +--- 1 file changed, 1 insertion(+), 3 deleti

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 12 ++-- 1 file changed, 2 insertion

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused CFG80211_DBG tag. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 4 +--- drivers/staging/wilc1000/wilc_debugfs.c

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. And, it adds a 'break' statement in accordance with the switch-case rule. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- driver

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused HOSTAPD_DBG tag. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 4 +--- drivers/staging/wilc1000/wilc_debugfs.c

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes the unnecessary log messages which is used with the HOSTAPD_DBG tag. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cf

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages and relate variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 233 +---

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary comments. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_mon.c | 4 1 file changed, 4 deletions(-) diff --git a/driver

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 31 -

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/host_interface.c | 5 - 1 file changed, 5

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

2016-02-21 Thread Leo Kim
This patch removes the error reported by smatch. - wilc_wfi_cfgoperations.c:674 scan() error: potential null dereference 'strHiddenNetwork.net_info'. (kmalloc returns null) Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 ++

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

2016-02-21 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 <leo@atmel.com> --- drivers/staging/wilc1000/linux_mon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_mo

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

2016-02-21 Thread Leo Kim
This patches removes unnecessary debug logs. Signed-off-by: Leo Kim <leo@atmel.com> --- 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/wi

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

2016-02-21 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log message and relate variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_mon.c | 42 --

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

2016-02-21 Thread Leo Kim
This patches replaces PRINT_ER with netdev_err. Signed-off-by: Leo Kim <leo@atmel.com> --- 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 5

[PATCH V3 00/24] staging: wilc1000: Resend V3

2016-02-21 Thread Leo Kim
ng-testing] [also build test WARNING on next-20160217] [cannot apply to v4.5-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Leo-Kim/staging-wilc1000-wilc_wlan-c-removes-PRINT_ER/20160

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

2016-02-21 Thread Leo Kim
This patches removes PRINT_ER that is unnecessary debug logs. Signed-off-by: Leo Kim <leo@atmel.com> --- 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 3

[PATCH 4/4] staging: wilc1000: removes linux_wlan_common.h file

2016-02-19 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes linux_wlan_common.h file and also removes the following preprocessor at files that include it: - #include 'linux_wlan_common.h' Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.co

[PATCH 1/4] staging: wilc1000: move WILC_MULTICAST_TABLE_SIZE define to wilc_wlan_if.h file

2016-02-19 Thread Leo Kim
t;chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_wlan_if.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/driver

[PATCH 3/4] staging: wilc1000: remove useless define in linux_wlan_common.h file

2016-02-19 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes useless define in linux_wlan_common.h file Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 32 --

[PATCH 2/4] staging: wilc1000: move MODALIS and GPIO_NUM define to wilc_wlan.h file

2016-02-19 Thread Leo Kim
m> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan_common.h | 2 -- drivers/staging/wilc1000/wilc_wlan.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_common.h b/driver

[PATCH 4/6] staging: wilc1000: removes unnecessary wilc_debug print log

2016-02-19 Thread Leo Kim
This patch removes unnecessary wilc_debug print log. The print log was written when if condition fail. The condition is chip-id check function. Also, replaces this condition with normal function. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 4 +---

[PATCH 2/6] staging: wilc1000: replaces wilc_debug with netdev_err

2016-02-19 Thread Leo Kim
This patches replaces wilc_debug with netdev_err. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c

[PATCH 6/6] staging: wilc1000: wilc_wlan_cfg_init: changes unused argument

2016-02-19 Thread Leo Kim
This patch changes the argument of the wilc_wlan_cfg_init function, wilc_debug to void type because wilc_debug function is not used any more. In addition, finally removes wilc_debug and related variables. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_

[PATCH 3/6] staging: wilc1000: removes unnecessary wilc_debug print log

2016-02-19 Thread Leo Kim
This patch removes unnecessary wilc_debug print log and the check routine. Signed-off-by: Leo Kim <leo@atmel.com> --- 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

[PATCH 5/6] staging: wilc1000: removes unnecessary variable of wilc_mac_cfg_t structure

2016-02-19 Thread Leo Kim
This patch removes unnecessary variable of wilc_mac_cfg_t structure. The variable is debug print function pointer. Removes all what used this variable. Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 7 --- 1 file changed, 7 deletions(-) diff

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

2016-02-18 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> 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 <chris.p...@atmel.com> Signed-off-by:

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

2016-02-18 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> 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 <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- driver

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

2016-02-18 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/driver

[PATCH V2 23/24] staging: wilc1000: moves to define values

2016-02-18 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch moves DEBUG, INFO, WRN and ERR values to wilc_debugfs.c file because this is only used to wilc_debugfs.c file. And, removes unnecessary WILC_DEBUGFS and else-case variables. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off

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

2016-02-18 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unused region feature on debug message. Also, removes the functions of related in this feature. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/l

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

2016-02-18 Thread Leo Kim
From: Chris Park <chris.p...@atmel.com> This patch removes unnecessary log messages. Signed-off-by: Chris Park <chris.p...@atmel.com> Signed-off-by: Leo Kim <leo@atmel.com> --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 14 +++--- 1 file changed, 3

  1   2   >