]>
git.karo-electronics.de Git - linux-beck.git/log
Leo Kim [Fri, 6 Nov 2015 02:12:56 +0000 (11:12 +0900)]
staging: wilc1000: rename EnableTCPAckFilter variable
This patch rename the EnableTCPAckFilter variable to enabled
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:55 +0000 (11:12 +0900)]
staging: wilc1000: rename Dropped variable
This patch rename the Dropped variable to dropped
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:54 +0000 (11:12 +0900)]
staging: wilc1000: remove warnings line over 80 characters
This patch removes the warnings reported by checkpatch.pl
for line over 80 characters.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:53 +0000 (11:12 +0900)]
staging: wilc1000: rename Ack_no variable
This patch rename the Ack_no variable to ack_no
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:52 +0000 (11:12 +0900)]
staging: wilc1000: rename Data_offset variable
This patch rename the Data_offset variable to data_offset
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:51 +0000 (11:12 +0900)]
staging: wilc1000: rename Total_Length variable
This patch rename the Total_Length variable to total_length
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:50 +0000 (11:12 +0900)]
staging: wilc1000: remove do-nothing else condition case.
This patch removes do-nothing else condition case.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:49 +0000 (11:12 +0900)]
staging: wilc1000: rename Session_index member variable
This patch rename the Ack Session_index variable to session_index
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:48 +0000 (11:12 +0900)]
staging: wilc1000: rename Ack member variable
This patch rename the Ack member variable to ack
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:47 +0000 (11:12 +0900)]
staging: wilc1000: rename add_TCP_Pending_Ack function
This patch rename the add_TCP_Pending_Ack function to add_tcp_pending_ack
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:46 +0000 (11:12 +0900)]
staging: wilc1000: rename Update_TCP_track_session function
This patch rename the Update_TCP_track_session function to update_tcp_session
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:45 +0000 (11:12 +0900)]
staging: wilc1000: rename add_TCP_track_session function
This patch rename the add_TCP_track_session function to add_tcp_session
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:44 +0000 (11:12 +0900)]
staging: wilc1000: rename Init_TCP_tracking function
This patch rename the Init_TCP_tracking function to init_tcp_tracking
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:43 +0000 (11:12 +0900)]
staging: wilc1000: rename Pending_Acks variable
This patch rename the Pending_Acks variable to pending_acks
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:42 +0000 (11:12 +0900)]
staging: wilc1000: rename Opened_TCP_session variable
This patch rename the Opened_TCP_session variable to tcp_session
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:41 +0000 (11:12 +0900)]
staging: wilc1000: rename PendingAcks_arrBase variable
This patch rename the PendingAcks_arrBase variable to pending_base
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:40 +0000 (11:12 +0900)]
staging: wilc1000: rename Pending_Acks_info variable
This patch rename the Pending_Acks_info variable to pending_acks_info
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:39 +0000 (11:12 +0900)]
staging: wilc1000: rename Acks_keep_track_info variable
This patch rename the Acks_keep_track_info variable to ack_session_info
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:38 +0000 (11:12 +0900)]
staging: wilc1000: rename Session_index of struct pending_acks_info
This patch rename Session_index of struct pending_acks_info to session_index
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:37 +0000 (11:12 +0900)]
staging: wilc1000: remove typedef of struct Pending_Acks_info_t
This patch remove typedef of struct Pending_Acks_info_t.
And, rename the Pending_Acks_info_t to pending_acks_info.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:36 +0000 (11:12 +0900)]
staging: wilc1000: rename Bigger_Ack_num of struct ack_session_info
This patch rename Bigger_Ack_num of struct ack_session_info to bigger_ack_num
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:35 +0000 (11:12 +0900)]
staging: wilc1000: rename Ack_seq_num of struct ack_session_info
This patch rename Ack_seq_num of struct ack_session_info to seq_num
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:34 +0000 (11:12 +0900)]
staging: wilc1000: rename Ack_session_info struct variable
This patch rename Ack_session_info struct variable to ack_session_info
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:33 +0000 (11:12 +0900)]
staging: wilc1000: rename Statisitcs_DroppedAcks variable
This patch rename Statisitcs_DroppedAcks variable to dropped_acks
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:32 +0000 (11:12 +0900)]
staging: wilc1000: rename Statisitcs_totalAcks variable
This patch rename Statisitcs_totalAcks variable to total_acks
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:31 +0000 (11:12 +0900)]
staging: wilc1000: replace explicit NULL comparisons with !
This patch replace explicit NULL comparison with ! operator to simplify code.
Reported by checkpatch.pl for Comparison to NULL could be written "!XXX" or "XXX".
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:30 +0000 (11:12 +0900)]
staging: wilc1000: rename genuChipPSstate variable
This patch rename genuChipPSstate variable to chip_ps_state
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:29 +0000 (11:12 +0900)]
staging: wilc1000: fixes missing a blank line after declarations
This patch fixes the warnings reported by checkpatch.pl
for Missing a blank line after declarations.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:28 +0000 (11:12 +0900)]
staging: wilc1000: fixes add blank line after function declaration
This patch fixes the warnings reported by checkpatch.pl
for please use a blank line after function/struct/union/enum declarations
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:27 +0000 (11:12 +0900)]
staging: wilc1000: fixes blank lines aren't necessary brace
This patch fixes the checks reported by checkpatch.pl
for Blank lines aren't necessary after an open brace '{' and
Blank lines aren't necessary before a close brace '}'.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:26 +0000 (11:12 +0900)]
staging: wilc1000: fixes please don't use multiple blank lines
This patch fixes the checks reported by checkpatch.pl
for Please don't use multiple blank lines.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:25 +0000 (11:12 +0900)]
staging: wilc1000: wilc_wlan.c: remove over-commenting
There are over-commenting in the wilc_wlan.c file and most of them
are not helpful to explain what the code does and generate 80 ending
line over warnings. So, all of comments are removed in this patch and the
comments will later be added if necessary with the preferred Linux style.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:24 +0000 (11:12 +0900)]
staging: wilc1000: fixes that open brace { should be on the previous line
This patch fixes the error reported by checkpatch.pl
for that open brace { should be on the previous line.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:23 +0000 (11:12 +0900)]
staging: wilc1000: fixes a struct allocation to match coding standards
This patch fixes the checks reported by checkpatch.pl
for prefer kmalloc(sizeof(*tx_data)...) over kmalloc(sizeof(struct tx_complete_data)...)
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Fri, 6 Nov 2015 02:12:22 +0000 (11:12 +0900)]
staging: wilc1000: fixes alignment should match open parenthesis
This patch fixes the checks reported by checkpatch.pl
for alignment should match open parenthesis
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 5 Nov 2015 07:12:08 +0000 (16:12 +0900)]
staging: wilc1000: fix kbuild test robot error
This patch fixes build warning and error reported by kbuild test robot.
It is fixed by including netdevice.h.
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: 'struct net_device'
declared inside parameter list
int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp);
>> drivers/staging/wilc1000/wilc_wlan_if.h:940:27: warning: its scope is only
this definition or declaration, which is probably not what you want
>> drivers/staging/wilc1000/wilc_wlan.c:1954:5: error: conflicting types for
'wilc_wlan_init'
int wilc_wlan_init(struct net_device *dev, wilc_wlan_inp_t *inp)
Fixes: 30135ce ("staging: wilc1000: wilc_wlan_init: add argument struct net_device")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:39 +0000 (14:36 +0900)]
staging: wilc1000: rename pu8UdpBuffer of mac_xmit function
This patch rename pu8UdpBuffer variable of mac_xmit function to udp_buf
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:38 +0000 (14:36 +0900)]
staging: wilc1000: rename QueueCount of mac_xmit function
This patch rename QueueCount variable of mac_xmit function to queue_count
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:37 +0000 (14:36 +0900)]
staging: wilc1000: rename s32Error of mac_ioctl function
This patch rename s32Error variable of mac_ioctl function to ret
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:36 +0000 (14:36 +0900)]
staging: wilc1000: rename host_int_get_MacAddress function
This patch rename host_int_get_MacAddress function to hif_get_mac_address
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:35 +0000 (14:36 +0900)]
staging: wilc1000: rename Set_machw_change_vir_if function
This patch rename Set_machw_change_vir_if function to set_machw_change_vir_if
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:34 +0000 (14:36 +0900)]
staging: wilc1000: remove goto from mac_open
This patch removes goto from mac_open function. If address is invalid, goto
handles deinit process and return result.
So, just call deinit process and return the error value directly instead of
goto statement.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:33 +0000 (14:36 +0900)]
staging: wilc1000: remove goto from wlan_initialize_threads
This patch remove goto feature from wlan_initialize_threads function.
Goto feature is 'wilc->close=0' & return result.
So, remove goto feature and it was replaced with the return value directly,
as well as removed unused ret variable.
Also, execute 'wilc->close=0' before return.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:32 +0000 (14:36 +0900)]
staging: wilc1000: fixes missing a blank line after declarations
This patch fixes the warnings reported by checkpatch.pl
for Missing a blank line after declarations.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:31 +0000 (14:36 +0900)]
staging: wilc1000: remove goto from linux_wlan_firmware_download
This patch remove goto feature from linux_wlan_firmware_download function.
Goto feature is return result.
So, remove goto functions and it was replaced with the return value directly.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:30 +0000 (14:36 +0900)]
staging: wilc1000: remove goto from linux_wlan_start_firmware
This patch remove goto feature from linux_wlan_start_firmware function.
Goto feature is return result.
So, remove goto functions and it was replaced with the return value directly.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:29 +0000 (14:36 +0900)]
staging: wilc1000: fixes braces {} should be used on all arms of this statement
This patch fixes the checks reported by checkpatch.pl
for braces {} should be used on all arms of this statement.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:28 +0000 (14:36 +0900)]
staging: wilc1000: rename pBSSID of function linux_wlan_set_bssid
This patch renames pBSSID of function linux_wlan_set_bssid to bssid
to avoid CamelCase naming convention.
Also, prototype linux_wlan_set_bssid in wilc_wfi_cfgoperations.c is moved to
wilc_wfi_netdevice.h.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:27 +0000 (14:36 +0900)]
staging: wilc1000: rename Bssid1 of function get_if_handler
This patch renames Bssid1 of function get_if_handler to bssid1
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:26 +0000 (14:36 +0900)]
staging: wilc1000: rename Bssid of function get_if_handler
This patch renames Bssid of function get_if_handler to bssid
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:25 +0000 (14:36 +0900)]
staging: wilc1000: rename pMacHeader of function get_if_handler
This patch renames pMacHeader of function get_if_handler to mac_header
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:24 +0000 (14:36 +0900)]
staging: wilc1000: rename function GetIfHandler
This patch renames GetIfHandler function name to get_if_handler
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:23 +0000 (14:36 +0900)]
staging: wilc1000: remove do-nothing if condition case.
This patch removes do-nothing if condition case.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:22 +0000 (14:36 +0900)]
staging: wilc1000: fixes add spaces required around that '&&'
This patch fixes add to spaces around that '&&' or '||'.
Reported by checkpatch.pl for spaces required around that '&&' or '||' (ctx:VxE).
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:21 +0000 (14:36 +0900)]
staging: wilc1000: remove warnings line over 80 characters
This patch removes the warnings reported by checkpatch.pl
for line over 80 characters.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:20 +0000 (14:36 +0900)]
staging: wilc1000: remove extern function in c file and move it to header file.
This patch removes extern resolve_disconnect_aberration in c file and move
it to proper header file. Rename argument also to match with declaration.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:19 +0000 (14:36 +0900)]
staging: wilc1000: linux_wlan: remove unused defines
This patch removes unused defines from linux_wlan.c file.
- NM73131
- PLAT_CLM9722
Two defines are support custom feature that don't used anymore.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:18 +0000 (14:36 +0900)]
staging: wilc1000: linux_wlan.c: clean up comments
There are over-commenting in the linux_wlan.c file and most of them
are not helpful to explain what the code does and generate 80 ending
line over warnings. So, all of comments and commented codes are removed in
this patch. Comment will be added if necessary with the preferred Linux style.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:17 +0000 (14:36 +0900)]
staging: wilc1000: fixes blank lines aren't necessary brace
This patch fixes the checks reported by checkpatch.pl
for Blank lines aren't necessary after an open brace '{' and
Blank lines aren't necessary before a close brace '}'.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:16 +0000 (14:36 +0900)]
staging: wilc1000: rename pIP_Add_buff of function dev_state_ev_handler
This patch renames pIP_Add_buff of function dev_state_ev_handler to ip_addr_buf
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:15 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrWFIDrv of function mac_close
This patch renames pstrWFIDrv of function mac_close to hif_drv
to avoid CamelCase naming convention.
And, some debug print modification that has been included name 'pstrWFIDrv'.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:14 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrWFIDrv of function wilc_set_multicast_list
This patch renames pstrWFIDrv of function wilc_set_multicast_list to hif_drv
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:13 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrWFIDrv of function linux_wlan_init_test_config
This patch renames pstrWFIDrv of function linux_wlan_init_test_config to hif_drv
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:12 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrWFIDrv of function dev_state_ev_handler
This patch renames pstrWFIDrv of function dev_state_ev_handler to hif_drv
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:11 +0000 (14:36 +0900)]
staging: wilc1000: linux_wlan: remove unused define CUSTOMER_PLATFORM
This patch remove unused define CUSTOMER_PLATFORM from linux_wlan.c.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:10 +0000 (14:36 +0900)]
staging: wilc1000: replace explicit NULL comparisons with !
This patch replace explicit NULL comparison with ! or unmark
operator to simplify code.
Reported by checkpatch.pl for comparison to NULL could be written "!XXX" or "XXX".
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:09 +0000 (14:36 +0900)]
staging: wilc1000: rename gau8MulticastMacAddrList variable
This patch renames gau8MulticastMacAddrList variable to multicast_mac_addr_list
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:08 +0000 (14:36 +0900)]
staging: wilc1000: remove return type of Handle_wait_msg_q_empty
This patch changes return type of Handle_wait_msg_q_empty from s32 with void
because return value is not used.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:07 +0000 (14:36 +0900)]
staging: wilc1000: rename strHostIFCfgParamAttr of fuction Handle_CfgParam
This patch renames strHostIFCfgParamAttr of fuction Handle_CfgParam
to cfg_param_attr to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:06 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrHostIfGetMacAddress of fuction Handle_GetMacAddress
This patch renames pstrHostIfGetMacAddress of fuction Handle_GetMacAddress
to get_mac_addr to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:05 +0000 (14:36 +0900)]
staging: wilc1000: rename pstrHostIfSetMacAddress of fuction Handle_SetMacAddress
This patch renames pstrHostIfSetMacAddress of fuction Handle_SetMacAddress
to set_mac_addr to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:04 +0000 (14:36 +0900)]
staging: wilc1000: remove unused parameter of fuction Handle_get_IPAddress
This patch removes parameter pu8IPAddr of fuction Handle_get_IPAddress because
it is not used in the function. Remove argument in the function call also.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:03 +0000 (14:36 +0900)]
staging: wilc1000: rename firmwareIPAddress of fuction Handle_set_IPAddress
This patch renames firmwareIPAddress of fuction Handle_set_IPAddress to
firmware_ip_addr to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 5 Nov 2015 05:36:02 +0000 (14:36 +0900)]
staging: wilc1000: rename pu8IPAddr of fuction Handle_set_IPAddress
This patch renames pu8IPAddr of fuction Handle_set_IPAddress to ip_addr
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Tue, 3 Nov 2015 07:21:01 +0000 (16:21 +0900)]
staging: wilc1000: send_config_pkt: remove unnecessary blank line
This patch remove unnecessary blank line which is reported by checkpatch.pl
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Tue, 3 Nov 2015 07:20:58 +0000 (16:20 +0900)]
staging: wilc1000: change enum variable name with lower case
This patch changes WID_TYPE with wid_type which is preferred style.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:50 +0000 (12:18 +0900)]
staging: wilc1000: wl_wlan_cleanup: add argument struct wilc
This patch adds new argument struct wilc and use it instead of g_linux_wlan.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:49 +0000 (12:18 +0900)]
staging: wilc1000: linux_wlan_get_firmware: change argument p_nic with dev
This patch changes argument perInterface_wlan_t *p_nic with struct net_device
*dev and use netdev private data nic and it's member wilc instead of
g_linux_wlan.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:48 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_init: add argument net_device
This patch adds new argument struct net_device and pass the function dev.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:47 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_init: add argument struct net_device
This patch adds an argument dev and pass dev to the function.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:46 +0000 (12:18 +0900)]
staging: wilc1000: linux_wlan_start_firmware: change argument with dev
This patch changes argument nic with dev and use netdev private data member
wilc instead of g_linux_wlan, and pass dev to the function as well.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:45 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_txq_add_to_tail: add argument net_device
This patch adds new argument dev and use netdev private data member wilc
instead of g_linux_wlan, pass the function dev also.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:44 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_txq_add_mgmt_pkt: add new argument dev
This patch adds new argument struct net_device *dev and pass argument
struct net_device to the function.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:43 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_txq_remove_from_head: add new argument dev
Add new argument dev and use it instead of g_linux_wlan, and pass argument
dev to the function as well.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:42 +0000 (12:18 +0900)]
staging: wilc1000: linux_wlan_firmware_download: change argument
This patch changes argument p_nic with wilc and use it instead of
g_linux_wlan. Pass argument dev to the function.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Glen Lee [Thu, 29 Oct 2015 03:18:41 +0000 (12:18 +0900)]
staging: wilc1000: wilc_wlan_txq_get_first: add argument struct wilc
This patch adds new argument struct wilc and use it instead of g_linux_wlan.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:56 +0000 (12:05 +0900)]
staging: wilc1000: rename pstrHostIfSetOperationMode of fuction Handle_SetOperationMode
This patch renames pstrHostIfSetOperationMode of fuction Handle_SetOperationMode
to hif_op_mode to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:55 +0000 (12:05 +0900)]
staging: wilc1000: rename pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler
This patch renames pstrHostIfSetDrvHandler of fuction Handle_SetWfiDrvHandler
to hif_drv_handler to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:54 +0000 (12:05 +0900)]
staging: wilc1000: rename pstrHostIFSetChan of fuction Handle_SetChannel
This patch renames pstrHostIFSetChan of fuction Handle_SetChannel to hif_set_ch
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:53 +0000 (12:05 +0900)]
staging: wilc1000: rename u16FlagsSet of struct add_sta_param
This patch renames u16FlagsSet of struct add_sta_param to flags_set
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:52 +0000 (12:05 +0900)]
staging: wilc1000: rename u16FlagsMask of struct add_sta_param
This patch renames u16FlagsMask of struct add_sta_param to flags_mask
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:51 +0000 (12:05 +0900)]
staging: wilc1000: rename u8ASELCap of struct add_sta_param
This patch renames u8ASELCap of struct add_sta_param to ht_ante_sel
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:50 +0000 (12:05 +0900)]
staging: wilc1000: rename u32TxBeamformingCap of struct add_sta_param
This patch renames u32TxBeamformingCap of struct add_sta_param to ht_tx_bf_cap
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:49 +0000 (12:05 +0900)]
staging: wilc1000: rename u16HTExtParams of struct add_sta_param
This patch renames u16HTExtParams of struct add_sta_param to ht_ext_params
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:48 +0000 (12:05 +0900)]
staging: wilc1000: rename au8SuppMCsSet of struct add_sta_param
This patch renames au8SuppMCsSet of struct add_sta_param to ht_supp_mcs_set
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:47 +0000 (12:05 +0900)]
staging: wilc1000: rename u8AmpduParams of struct add_sta_param
This patch renames u8AmpduParams of struct add_sta_param to ht_ampdu_params
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:46 +0000 (12:05 +0900)]
staging: wilc1000: rename u16HTCapInfo of struct add_sta_param
This patch renames u16HTCapInfo of struct add_sta_param to ht_capa_info
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:45 +0000 (12:05 +0900)]
staging: wilc1000: rename bIsHTSupported of struct add_sta_param
This patch renames bIsHTSupported of struct add_sta_param to ht_supported
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:44 +0000 (12:05 +0900)]
staging: wilc1000: rename pu8Rates of struct add_sta_param
This patch renames pu8Rates of struct add_sta_param to rates
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Leo Kim [Thu, 29 Oct 2015 03:05:43 +0000 (12:05 +0900)]
staging: wilc1000: rename u8NumRates of struct add_sta_param
This patch renames u8NumRates of struct add_sta_param to rates_len
to avoid CamelCase naming convention.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>