* [PATCH] libertas: Use shared constant for rfc1042 header
@ 2020-05-23 21:26 Pascal Terjan
2020-05-29 17:16 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Pascal Terjan @ 2020-05-23 21:26 UTC (permalink / raw)
To: Kalle Valo, David S. Miller, Jakub Kicinski, libertas-dev,
linux-wireless, netdev, linux-kernel
Cc: Pascal Terjan
This is one of the 9 drivers redefining rfc1042_header.
Signed-off-by: Pascal Terjan <pterjan@google.com>
---
drivers/net/wireless/marvell/libertas/rx.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/net/wireless/marvell/libertas/rx.c b/drivers/net/wireless/marvell/libertas/rx.c
index 58a1fc433b73..f28aa09d1f9e 100644
--- a/drivers/net/wireless/marvell/libertas/rx.c
+++ b/drivers/net/wireless/marvell/libertas/rx.c
@@ -62,9 +62,6 @@ int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb)
struct rxpd *p_rx_pd;
int hdrchop;
struct ethhdr *p_ethhdr;
- static const u8 rfc1042_eth_hdr[] = {
- 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00
- };
BUG_ON(!skb);
@@ -102,7 +99,7 @@ int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb)
sizeof(p_rx_pkt->eth803_hdr.src_addr));
if (memcmp(&p_rx_pkt->rfc1042_hdr,
- rfc1042_eth_hdr, sizeof(rfc1042_eth_hdr)) == 0) {
+ rfc1042_header, sizeof(rfc1042_header)) == 0) {
/*
* Replace the 803 header and rfc1042 header (llc/snap) with an
* EthernetII header, keep the src/dst and snap_type (ethertype)
--
2.27.0.rc0.183.gde8f92d652-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libertas: Use shared constant for rfc1042 header
2020-05-23 21:26 [PATCH] libertas: Use shared constant for rfc1042 header Pascal Terjan
@ 2020-05-29 17:16 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2020-05-29 17:16 UTC (permalink / raw)
To: Pascal Terjan
Cc: David S. Miller, Jakub Kicinski, libertas-dev, linux-wireless,
netdev, linux-kernel, Pascal Terjan
Pascal Terjan <pterjan@google.com> wrote:
> This is one of the 9 drivers redefining rfc1042_header.
>
> Signed-off-by: Pascal Terjan <pterjan@google.com>
Patch applied to wireless-drivers-next.git, thanks.
729ef6b614a1 libertas: Use shared constant for rfc1042 header
--
https://patchwork.kernel.org/patch/11567011/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-29 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-23 21:26 [PATCH] libertas: Use shared constant for rfc1042 header Pascal Terjan
2020-05-29 17:16 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).