summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Cho <tony.cho@atmel.com>2015-09-30 12:44:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-02 12:55:59 +0300
commit7f33fecde162d8694fd3072aa70b59d459330d35 (patch)
tree5fc7c52f6e3f0243205aa858d12ce7a85789f8b5
parent80bf8836bf7657000f6e49786f82207b8b5cc02f (diff)
downloadlinux-7f33fecde162d8694fd3072aa70b59d459330d35.tar.xz
staging: wilc1000: rename struct set_beacon
This patch renames struct set_beacon to beacon_attr to keep the naming convention as scan_attr, connect_attr and channel_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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index 686402a9dcf3..2f211f908673 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -248,7 +248,7 @@ struct channel_attr {
* } tstrScanComplete;*/
/*!
- * @struct set_beacon
+ * @struct beacon_attr
* @brief Set Beacon message body
* @details
* @todo
@@ -257,7 +257,7 @@ struct channel_attr {
* @date 10 July 2012
* @version 1.0
*/
-struct set_beacon {
+struct beacon_attr {
u32 u32Interval; /*!< Beacon Interval. Period between two successive beacons on air */
u32 u32DTIMPeriod; /*!< DTIM Period. Indicates how many Beacon frames
* (including the current frame) appear before the next DTIM */
@@ -391,7 +391,7 @@ union message_body {
struct key_attr key_info;
struct cfg_param_attr cfg_info;
struct channel_attr channel_info;
- struct set_beacon strHostIFSetBeacon;
+ struct beacon_attr strHostIFSetBeacon;
struct add_sta_param strAddStaParam;
struct del_sta strDelStaParam;
struct add_sta_param strEditStaParam;
@@ -3158,14 +3158,14 @@ static s32 Handle_Get_InActiveTime(tstrWILC_WFIDrv *drvHandler,
/**
* @brief Handle_AddBeacon
* @details Sending config packet to add beacon
- * @param[in] struct set_beacon *pstrSetBeaconParam
+ * @param[in] struct beacon_attr *pstrSetBeaconParam
* @return NONE
* @author
* @date
* @version 1.0
*/
static void Handle_AddBeacon(tstrWILC_WFIDrv *drvHandler,
- struct set_beacon *pstrSetBeaconParam)
+ struct beacon_attr *pstrSetBeaconParam)
{
s32 s32Error = 0;
tstrWID strWID;
@@ -6548,7 +6548,7 @@ s32 host_int_add_beacon(tstrWILC_WFIDrv *hWFIDrv, u32 u32Interval,
s32 s32Error = 0;
tstrWILC_WFIDrv *pstrWFIDrv = (tstrWILC_WFIDrv *)hWFIDrv;
struct host_if_msg msg;
- struct set_beacon *pstrSetBeaconParam = &msg.body.strHostIFSetBeacon;
+ struct beacon_attr *pstrSetBeaconParam = &msg.body.strHostIFSetBeacon;
if (pstrWFIDrv == NULL) {
PRINT_ER("driver is null\n");