diff options
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c index a527d5d4cc4e..ebd53aa7202b 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_cdc.c | |||
@@ -58,7 +58,7 @@ struct brcmf_proto_cdc_dcmd { | |||
58 | * Used on data packets to convey priority across USB. | 58 | * Used on data packets to convey priority across USB. |
59 | */ | 59 | */ |
60 | #define BDC_HEADER_LEN 4 | 60 | #define BDC_HEADER_LEN 4 |
61 | #define BDC_PROTO_VER 1 /* Protocol version */ | 61 | #define BDC_PROTO_VER 2 /* Protocol version */ |
62 | #define BDC_FLAG_VER_MASK 0xf0 /* Protocol version mask */ | 62 | #define BDC_FLAG_VER_MASK 0xf0 /* Protocol version mask */ |
63 | #define BDC_FLAG_VER_SHIFT 4 /* Protocol version shift */ | 63 | #define BDC_FLAG_VER_SHIFT 4 /* Protocol version shift */ |
64 | #define BDC_FLAG_SUM_GOOD 0x04 /* Good RX checksums */ | 64 | #define BDC_FLAG_SUM_GOOD 0x04 /* Good RX checksums */ |
@@ -77,7 +77,7 @@ struct brcmf_proto_bdc_header { | |||
77 | u8 flags; | 77 | u8 flags; |
78 | u8 priority; /* 802.1d Priority, 4:7 flow control info for usb */ | 78 | u8 priority; /* 802.1d Priority, 4:7 flow control info for usb */ |
79 | u8 flags2; | 79 | u8 flags2; |
80 | u8 rssi; | 80 | u8 data_offset; |
81 | }; | 81 | }; |
82 | 82 | ||
83 | 83 | ||
@@ -372,7 +372,7 @@ void brcmf_proto_hdrpush(struct brcmf_pub *drvr, int ifidx, | |||
372 | 372 | ||
373 | h->priority = (pktbuf->priority & BDC_PRIORITY_MASK); | 373 | h->priority = (pktbuf->priority & BDC_PRIORITY_MASK); |
374 | h->flags2 = 0; | 374 | h->flags2 = 0; |
375 | h->rssi = 0; | 375 | h->data_offset = 0; |
376 | BDC_SET_IF_IDX(h, ifidx); | 376 | BDC_SET_IF_IDX(h, ifidx); |
377 | } | 377 | } |
378 | 378 | ||