提交 cb3ea094 编写于 作者: L Luis R. Rodriguez 提交者: Greg Kroah-Hartman

ath6kl: remove-typedef HTC_SERVICE_CONNECT_RESP

remove-typedef -s HTC_SERVICE_CONNECT_RESP \
	"struct htc_service_connect_resp" drivers/staging/ath6kl/
Tested-by: NNaveen Singh <nsingh@atheros.com>
Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 3d82b15e
...@@ -230,7 +230,7 @@ int HTCWaitTarget(HTC_HANDLE HTCHandle) ...@@ -230,7 +230,7 @@ int HTCWaitTarget(HTC_HANDLE HTCHandle)
HTC_READY_EX_MSG *pRdyMsg; HTC_READY_EX_MSG *pRdyMsg;
struct htc_service_connect_req connect; struct htc_service_connect_req connect;
HTC_SERVICE_CONNECT_RESP resp; struct htc_service_connect_resp resp;
AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("HTCWaitTarget - Enter (target:0x%lX) \n", (unsigned long)target)); AR_DEBUG_PRINTF(ATH_DEBUG_TRC, ("HTCWaitTarget - Enter (target:0x%lX) \n", (unsigned long)target));
......
...@@ -123,7 +123,7 @@ int HTCSendSetupComplete(HTC_TARGET *target) ...@@ -123,7 +123,7 @@ int HTCSendSetupComplete(HTC_TARGET *target)
int HTCConnectService(HTC_HANDLE HTCHandle, int HTCConnectService(HTC_HANDLE HTCHandle,
struct htc_service_connect_req *pConnectReq, struct htc_service_connect_req *pConnectReq,
HTC_SERVICE_CONNECT_RESP *pConnectResp) struct htc_service_connect_resp *pConnectResp)
{ {
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle); HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
int status = 0; int status = 0;
......
...@@ -153,14 +153,14 @@ struct htc_service_connect_req { ...@@ -153,14 +153,14 @@ struct htc_service_connect_req {
#define HTC_LOCAL_CONN_FLAGS_ENABLE_SEND_BUNDLE_PADDING (1 << 0) /* enable send bundle padding for this endpoint */ #define HTC_LOCAL_CONN_FLAGS_ENABLE_SEND_BUNDLE_PADDING (1 << 0) /* enable send bundle padding for this endpoint */
/* service connection response information */ /* service connection response information */
typedef struct _HTC_SERVICE_CONNECT_RESP { struct htc_service_connect_resp {
u8 *pMetaData; /* caller supplied buffer to optional meta-data */ u8 *pMetaData; /* caller supplied buffer to optional meta-data */
u8 BufferLength; /* length of caller supplied buffer */ u8 BufferLength; /* length of caller supplied buffer */
u8 ActualLength; /* actual length of meta data */ u8 ActualLength; /* actual length of meta data */
HTC_ENDPOINT_ID Endpoint; /* endpoint to communicate over */ HTC_ENDPOINT_ID Endpoint; /* endpoint to communicate over */
unsigned int MaxMsgLength; /* max length of all messages over this endpoint */ unsigned int MaxMsgLength; /* max length of all messages over this endpoint */
u8 ConnectRespCode; /* connect response code from target */ u8 ConnectRespCode; /* connect response code from target */
} HTC_SERVICE_CONNECT_RESP; };
/* endpoint distribution structure */ /* endpoint distribution structure */
struct htc_endpoint_credit_dist { struct htc_endpoint_credit_dist {
...@@ -363,7 +363,7 @@ int HTCAddReceivePkt(HTC_HANDLE HTCHandle, struct htc_packet *pPacket); ...@@ -363,7 +363,7 @@ int HTCAddReceivePkt(HTC_HANDLE HTCHandle, struct htc_packet *pPacket);
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
int HTCConnectService(HTC_HANDLE HTCHandle, int HTCConnectService(HTC_HANDLE HTCHandle,
struct htc_service_connect_req *pReq, struct htc_service_connect_req *pReq,
HTC_SERVICE_CONNECT_RESP *pResp); struct htc_service_connect_resp *pResp);
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ /*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@desc: Send an HTC packet @desc: Send an HTC packet
@function name: HTCSendPkt @function name: HTCSendPkt
......
...@@ -2343,7 +2343,7 @@ static int ar6000_connectservice(AR_SOFTC_T *ar, ...@@ -2343,7 +2343,7 @@ static int ar6000_connectservice(AR_SOFTC_T *ar,
char *pDesc) char *pDesc)
{ {
int status; int status;
HTC_SERVICE_CONNECT_RESP response; struct htc_service_connect_resp response;
do { do {
......
...@@ -115,7 +115,7 @@ static int ar6000_connect_raw_service(AR_SOFTC_T *ar, ...@@ -115,7 +115,7 @@ static int ar6000_connect_raw_service(AR_SOFTC_T *ar,
HTC_RAW_STREAM_ID StreamID) HTC_RAW_STREAM_ID StreamID)
{ {
int status; int status;
HTC_SERVICE_CONNECT_RESP response; struct htc_service_connect_resp response;
u8 streamNo; u8 streamNo;
struct htc_service_connect_req connect; struct htc_service_connect_req connect;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册