Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267764
b: refs/heads/master
c: a76d984
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent c6d5d6d commit c8781f8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3ab7211bd49b4df8e1469f73aa17662319d6c66
refs/heads/master: a76d98497eb5b8f2ad723cfcaa58d6f7653243af
6 changes: 3 additions & 3 deletions trunk/drivers/staging/rtl8192e/r8192E_cmdpkt.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,14 @@ cmpk_handle_interrupt_status(
struct net_device *dev,
u8* pmsg)
{
cmpk_intr_sta_t rx_intr_status; /* */
struct cmpk_intr_sta rx_intr_status; /* */
struct r8192_priv *priv = rtllib_priv(dev);

DMESG("---> cmpk_Handle_Interrupt_Status()\n");


rx_intr_status.length = pmsg[1];
if (rx_intr_status.length != (sizeof(cmpk_intr_sta_t) - 2))
if (rx_intr_status.length != (sizeof(struct cmpk_intr_sta) - 2))
{
DMESG("cmpk_Handle_Interrupt_Status: wrong length!\n");
return;
Expand Down Expand Up @@ -416,7 +416,7 @@ cmpk_message_handle_rx(
case RX_INTERRUPT_STATUS:
RT_TRACE(COMP_CMDPKT, "---->cmpk_message_handle_rx():RX_INTERRUPT_STATUS\n");
cmpk_handle_interrupt_status(dev, pcmd_buff);
cmd_length = sizeof(cmpk_intr_sta_t);
cmd_length = sizeof(struct cmpk_intr_sta);
break;
case BOTH_QUERY_CONFIG:
RT_TRACE(COMP_CMDPKT, "---->cmpk_message_handle_rx():BOTH_QUERY_CONFIG\n");
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/staging/rtl8192e/r8192E_cmdpkt.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,12 @@ struct cmpk_txfb {
u16 duration; /* */
};//;

typedef struct tag_cmd_pkt_interrupt_status
{
struct cmpk_intr_sta {
u8 element_id;
u8 length;
u16 reserve;
u32 interrupt_status;
}cmpk_intr_sta_t;
};//;


typedef struct tag_cmd_pkt_set_configuration
Expand Down

0 comments on commit c8781f8

Please sign in to comment.