.
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
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_
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
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
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
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
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
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_
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
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
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
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
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
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
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
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
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
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
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
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
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 ++---
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
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
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
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
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
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>
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 +++-
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
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 --
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
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
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
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 ++
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
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
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:
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
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
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
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
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
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
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
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 +---
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
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 -
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
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
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
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
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
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
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
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 --
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
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
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 +---
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
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_
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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 +---
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
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 -
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
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 ++
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
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
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 --
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
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
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
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
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
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 --
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
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 +---
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
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_
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
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
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:
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
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
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
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
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 - 100 of 190 matches
Mail list logo