Ajay Singh
54300bfb88
staging: wilc1000: fix line over 80 char in handle_connect()
...
Fix 'line over 80 characters' issue reported by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:51 +01:00
Ajay Singh
03ed9089cb
staging: wilc1000: fix line over 80 char in handle_scan()
...
Fix 'line over 80 character' issue reported by checkpatch.pl script in
handle_scan().
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:51 +01:00
Ajay Singh
3e488a958a
staging: wilc1000: rename label 'ERRORHANDLER' to avoid uppercase name
...
Cleanup patch to avoid use of uppercase for label names, to follow linux
coding style.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:51 +01:00
Ajay Singh
f32aeb0ecd
staging: wilc1000: rename strConnectInfo to avoid camelCase
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:51 +01:00
Ajay Singh
ec90c21b46
staging: wilc1000: rename pstrHostIFconnectAttr to avoid camelCase issue
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:51 +01:00
Ajay Singh
648cd9a69e
staging: wilc1000: fix line over 80 char in cfg_scan_result()
...
Refactor cfg_scan_result() API to avoid 'line over 80 chars' issue
reported by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
7d61592731
staging: wilc1000: rename pJoinParams to avoid camelCase
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
a15b48bebf
staging: wilc1000: fix line over 80 char in mgmt_tx_cancel_wait()
...
Fix 'line over 80 char' issue found in checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
0a0dac38d4
staging: wilc1000: fix line over 80 char for cfg parse RX and TX function
...
Fix 'line over 80 characters' issue found by checkpatch.pl script. Moved
the common code from wilc_wfi_cfg_parse_tx_action() &
wilc_wfi_cfg_parse_rx_action() to new function to avoid checkpatch issue.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
6fa02f2d0b
staging: wilc1000: fix line over 80 char in get_key() & set_default_key()
...
Fix 'line over 80 characters' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
f3a5aa287e
staging: wilc1000: fix line over 80 char in change_virtual_intf()
...
Fix 'line over 80 char' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
228f3cdb01
staging: wilc1000: rename au8ScanChanList to avoid camelCase
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
a0e317cf92
staging: wilc1000: rename CfgScanResult to avoid camelCase
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
09c65f7bde
staging: wilc1000: rename pstrNetworkInfo to avoid camelCase
...
Fix 'Avoid camleCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
02567aa6e1
staging: wilc1000: rename strHiddenNetwork to avoid camelCase
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-14 12:59:04 +01:00
Ajay Singh
e7893674d6
staging: wilc1000: rename u16DummyReasonCode to avoid camelCase
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:44 -08:00
Ajay Singh
3b9ccd3bdb
staging: wilc1000: fix line over 80 char in handle_rcvd_ntwrk_info()
...
Fix 'line over 80 character' issues found by checkpatch.pl script by
use of temporary variable and avoided leading tab.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:44 -08:00
Ajay Singh
87ae3a5bd1
staging: wilc1000: rename handle_connect_timeout() variables to avoid camelCase
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:44 -08:00
Ajay Singh
697346817e
staging: wilc1000: fix line over 80 char in wilc_scan_complete_received()
...
Fix 'line over 80 character' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
fab6b72344
staging: wilc1000: fix line over 80 char in wilc_del_allstation() & wilc_deinit()
...
Fix 'line over 80 characters' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
83ff39d99b
staging: wilc1000: fix line over 80 char in wilc_add_ptk()
...
Fix 'line over 80 characters' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
8007f00092
staging: wilc1000: rename pstrHostIFkeyAttr to avoid camelCase issue
...
Fix 'Avoid camelCase' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
172148b8ba
staging: wilc1000: fix line over 80 char in host_int_parse_join_bss_param()
...
Fix 'line over 80 characters' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
4262d2fc07
staging: wilc1000: fix line over 80 char for wilc_gnrl_async_info_received()
...
Fix 'line over 80 char' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
05141a62bb
staging: wilc1000: fix line over 80 char in wilc_network_info_received()
...
Fix 'line over 80 character' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
2f90a5da7c
staging: wilc1000: fix line over 80 char in handle_cfg_param()
...
Fix 'line over 80 char' issues found by checkpatch.pl script in
handle_cfg_param(). Rename variables and used temporary variables
to fix the line over 80 characters issue.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
38b39d3240
staging: wilc1000: remove always 'true' check from 'if' statement
...
Fix few smatch warning related to 'warn: always true condition'.
handle_cfg_param() warn: always true condition
'(cfg_param_attr->auth_timeout < 65536) => (0-u16max < 65536)'
handle_cfg_param() warn: always true condition
'(cfg_param_attr->rts_threshold < 65536) => (0-u16max < 65536)'
handle_cfg_param() warn: always true condition
'(cfg_param_attr->beacon_interval < 65536) => (0-u16max < 65536)'
handle_cfg_param() warn: always true condition
'(cfg_param_attr->site_survey_scan_time < 65536) => (0-u16max <
65536)'
handle_cfg_param() warn: always true condition
'(cfg_param_attr->active_scan_time < 65536) => (0-u16max < 65536)'
handle_cfg_param() warn: always true condition
'(cfg_param_attr->passive_scan_time < 65536) => (0-u16max < 65536)'
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
cd1ce6ebd9
staging: wilc1000: rename enuEvent to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:11:43 -08:00
Ajay Singh
4c1f0e3aff
staging: wilc1000: fix line over 80 char in wilc_wlan_handle_rxq()
...
Refactor wilc_wlan_handle_rxq() to fix line over 80 character issue
found by checkpatch.pl script. Added a new function to split
'wilc_wlan_handle_rxq' function code.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:10:46 -08:00
Ajay Singh
e03aec251b
staging: wilc1000: fix line over 80 char in wilc_wlan_cfg_set()
...
Fix 'line over 80 characters' issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:10:46 -08:00
Ajay Singh
967c4bc3b5
staging: wilc1000: fix open parenthesis mismatch in wilc_wlan_cfg_get()
...
Fix 'Alignment should match open parenthesis' issue found by
checkpatch.pl script. Reduce the leading tab, to make space for open
parenthesis match.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-06 04:10:46 -08:00
Ajay Singh
44b4709c53
staging: wilc1000: rename WILC_WFI_mgmt_rx() to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-01 17:22:28 +01:00
Ajay Singh
8544b8098a
staging: wilc1000: move multiple definition of same macro to common header
...
Move the same #define from multiple '.c' files to common header file.
Instead of having same macro in different '.c' files, now kept in
common '.h' file.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-01 17:22:28 +01:00
Ajay Singh
82059dcec9
staging: wilc1000: fix line over 80 char in wilc_wlan_handle_txq()
...
Refactor wilc_wlan_handle_txq() to fix 'line over 80 char' issue found
by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-01 17:22:28 +01:00
Ajay Singh
588bf3c116
staging: wilc1000: rename label _end_ in wilc_wlan_handle_txq()
...
Rename label name starting with '_' to follow as per linux coding style.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-01 17:22:28 +01:00
Ajay Singh
891256180a
staging: wilc1000: remove unnecessary while(0) in wilc_wlan_handle_txq()
...
Refactor wilc_wlan_handle_txq() by removing unnecessary while(0)
loop. "Line over 80 char" issues in wilc_wlan_handle_txq() are fix by
reducing extra leading tab.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-01 17:22:28 +01:00
Dafna Hirschfeld
ea6430324d
staging: wilc1000: merge 'if' statements that test the same condition
...
Merge the instructions of two 'if' statements that test the same
condition and move a 'memcpy' instruction related to a different variable.
Issue found with coccicheck.
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-26 15:47:40 +01:00
Ajay Singh
281377cc66
staging: wilc1000: rename _WPARxGtk_end_case_ label to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:58 +01:00
Ajay Singh
90261dd94a
staging: wilc1000: rename _WPAPtk_end_case_ label to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
e87bbe0a91
staging: wilc1000: rename pstrStationParam to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
47daf86218
staging: wilc1000: rename pstrDelStaParam to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
8a7c5bd346
staging: wilc1000: rename strDisconnectNotifInfo to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
fcc70105f6
staging: wilc1000: rename pstrStatistics to avoid camelCase
...
Fix "Avoid caseCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
66ba14fc62
staging: wilc1000: rename pstrSetBeaconParam to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
ecf8d3d66b
staging: wilc1000: rename Handle_SetMulticastFilter to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
f53df85694
staging: wilc1000: rename pu32InactiveTime to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
b5f9ce6461
staging: wilc1000: rename variables using camelCase in handle_rcvd_ntwrk_info()
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
24701563ec
staging: wilc1000: rename ptstrJoinBssParam to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Ajay Singh
07407dc79a
staging: wilc1000: rename pu8HdnNtwrksWidVal to avoid camelCase
...
Fix "Avoid camelCase" issue found by checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:08:57 +01:00
Dafna Hirschfeld
1646ff6c66
staging: wilc1000: remove 'if' on field address
...
Remove 'if' statements testing struct's field address.
Since such statements always return true, they are redundant.
Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 14:53:05 +01:00