summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Cho <tony.cho@atmel.com>2015-09-30 12:44:27 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-02 12:55:59 +0300
commit94bdfe4243dfc230c41acdcc02bb9b4db4346e97 (patch)
tree88acc5c98c9d7f1b9d792da735d23dd2c7c59e9d
parent3962e1c4567bfff4d61fca8e021fde78b61f1108 (diff)
downloadlinux-94bdfe4243dfc230c41acdcc02bb9b4db4346e97.tar.xz
staging: wilc1000: rename struct set_channel
This patch renames struct set_channel to channel_attr to keep the naming convention such as scan_attr and connect_attr. Signed-off-by: Tony Cho <tony.cho@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/wilc1000/host_interface.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index e715f5438a64..e66118a66b5a 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -218,7 +218,7 @@ struct rcvd_async_info {
};
/*!
- * @struct set_channel
+ * @struct channel_attr
* @brief Set Channel message body
* @details
* @todo
@@ -227,7 +227,7 @@ struct rcvd_async_info {
* @date 25 March 2012
* @version 1.0
*/
-struct set_channel {
+struct channel_attr {
u8 u8SetChan;
};
@@ -406,7 +406,7 @@ union message_body {
struct rcvd_async_info async_info;
struct key_attr key_info;
struct cfg_param_attr cfg_info;
- struct set_channel strHostIFSetChan;
+ struct channel_attr strHostIFSetChan;
struct set_beacon strHostIFSetBeacon;
struct del_beacon strHostIFDelBeacon;
struct add_sta_param strAddStaParam;
@@ -599,14 +599,14 @@ static tstrWILC_WFIDrv *get_handler_from_id(int id)
/**
* @brief Handle_SetChannel
* @details Sending config packet to firmware to set channel
- * @param[in] struct set_channel *pstrHostIFSetChan
+ * @param[in] struct channel_attr *pstrHostIFSetChan
* @return Error code.
* @author
* @date
* @version 1.0
*/
static s32 Handle_SetChannel(tstrWILC_WFIDrv *drvHandler,
- struct set_channel *pstrHostIFSetChan)
+ struct channel_attr *pstrHostIFSetChan)
{
s32 s32Error = 0;