diff --git a/drivers/staging/vt6656/rxtx.c b/drivers/staging/vt6656/rxtx.c index 7834128f9b2137261d5230959b5f5881b7b20321..8e33e406dfe87bafba8e5dd39fa7af4faa641ec5 100644 --- a/drivers/staging/vt6656/rxtx.c +++ b/drivers/staging/vt6656/rxtx.c @@ -1045,7 +1045,7 @@ static int vnt_beacon_xmit(struct vnt_private *priv, count = sizeof(struct vnt_tx_short_buf_head) + skb->len; beacon_buffer->tx_byte_count = cpu_to_le16(count); - beacon_buffer->byPKTNO = context->pkt_no; + beacon_buffer->pkt_no = context->pkt_no; beacon_buffer->byType = 0x01; context->type = CONTEXT_BEACON_PACKET; diff --git a/drivers/staging/vt6656/rxtx.h b/drivers/staging/vt6656/rxtx.h index dee2bdf05471d3feeb50f3dd1f2cac8fac8483a8..5439ed096864cbf275e6d6a5734209a5eaa079e4 100644 --- a/drivers/staging/vt6656/rxtx.h +++ b/drivers/staging/vt6656/rxtx.h @@ -246,7 +246,7 @@ struct vnt_tx_short_buf_head { struct vnt_beacon_buffer { u8 byType; - u8 byPKTNO; + u8 pkt_no; __le16 tx_byte_count; struct vnt_tx_short_buf_head short_head; struct ieee80211_mgmt mgmt_hdr;