Commit 94bdfe42 authored by Tony Cho's avatar Tony Cho Committed by Greg Kroah-Hartman

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: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3962e1c4
...@@ -218,7 +218,7 @@ struct rcvd_async_info { ...@@ -218,7 +218,7 @@ struct rcvd_async_info {
}; };
/*! /*!
* @struct set_channel * @struct channel_attr
* @brief Set Channel message body * @brief Set Channel message body
* @details * @details
* @todo * @todo
...@@ -227,7 +227,7 @@ struct rcvd_async_info { ...@@ -227,7 +227,7 @@ struct rcvd_async_info {
* @date 25 March 2012 * @date 25 March 2012
* @version 1.0 * @version 1.0
*/ */
struct set_channel { struct channel_attr {
u8 u8SetChan; u8 u8SetChan;
}; };
...@@ -406,7 +406,7 @@ union message_body { ...@@ -406,7 +406,7 @@ union message_body {
struct rcvd_async_info async_info; struct rcvd_async_info async_info;
struct key_attr key_info; struct key_attr key_info;
struct cfg_param_attr cfg_info; struct cfg_param_attr cfg_info;
struct set_channel strHostIFSetChan; struct channel_attr strHostIFSetChan;
struct set_beacon strHostIFSetBeacon; struct set_beacon strHostIFSetBeacon;
struct del_beacon strHostIFDelBeacon; struct del_beacon strHostIFDelBeacon;
struct add_sta_param strAddStaParam; struct add_sta_param strAddStaParam;
...@@ -599,14 +599,14 @@ static tstrWILC_WFIDrv *get_handler_from_id(int id) ...@@ -599,14 +599,14 @@ static tstrWILC_WFIDrv *get_handler_from_id(int id)
/** /**
* @brief Handle_SetChannel * @brief Handle_SetChannel
* @details Sending config packet to firmware to set channel * @details Sending config packet to firmware to set channel
* @param[in] struct set_channel *pstrHostIFSetChan * @param[in] struct channel_attr *pstrHostIFSetChan
* @return Error code. * @return Error code.
* @author * @author
* @date * @date
* @version 1.0 * @version 1.0
*/ */
static s32 Handle_SetChannel(tstrWILC_WFIDrv *drvHandler, static s32 Handle_SetChannel(tstrWILC_WFIDrv *drvHandler,
struct set_channel *pstrHostIFSetChan) struct channel_attr *pstrHostIFSetChan)
{ {
s32 s32Error = 0; s32 s32Error = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment