Skip to content

Commit 4d78e03

Browse files
nbd168jmberg-intel
authored andcommitted
wifi: mac80211: drop bogus static keywords in A-MSDU rx
These were unintentional copy&paste mistakes. Cc: [email protected] Fixes: 986e43b ("wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces") Signed-off-by: Felix Fietkau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent f355f70 commit 4d78e03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/mac80211/rx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2896,7 +2896,7 @@ __ieee80211_rx_h_amsdu(struct ieee80211_rx_data *rx, u8 data_offset)
28962896
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data;
28972897
__le16 fc = hdr->frame_control;
28982898
struct sk_buff_head frame_list;
2899-
static ieee80211_rx_result res;
2899+
ieee80211_rx_result res;
29002900
struct ethhdr ethhdr;
29012901
const u8 *check_da = ethhdr.h_dest, *check_sa = ethhdr.h_source;
29022902

@@ -3037,7 +3037,7 @@ ieee80211_rx_h_data(struct ieee80211_rx_data *rx)
30373037
struct net_device *dev = sdata->dev;
30383038
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)rx->skb->data;
30393039
__le16 fc = hdr->frame_control;
3040-
static ieee80211_rx_result res;
3040+
ieee80211_rx_result res;
30413041
bool port_control;
30423042
int err;
30433043

0 commit comments

Comments
 (0)