.. | .. |
---|
798 | 798 | |
---|
799 | 799 | static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev) |
---|
800 | 800 | { |
---|
801 | | - static const u8 SNAP_RFC1024[6] = { 0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00 }; |
---|
802 | 801 | struct atmel_private *priv = netdev_priv(dev); |
---|
803 | 802 | struct ieee80211_hdr header; |
---|
804 | 803 | unsigned long flags; |
---|
.. | .. |
---|
853 | 852 | } |
---|
854 | 853 | |
---|
855 | 854 | if (priv->use_wpa) |
---|
856 | | - memcpy(&header.addr4, SNAP_RFC1024, ETH_ALEN); |
---|
| 855 | + memcpy(&header.addr4, rfc1042_header, ETH_ALEN); |
---|
857 | 856 | |
---|
858 | 857 | header.frame_control = cpu_to_le16(frame_ctl); |
---|
859 | 858 | /* Copy the wireless header into the card */ |
---|
.. | .. |
---|
1228 | 1227 | |
---|
1229 | 1228 | case ISR_RxFRAMELOST: |
---|
1230 | 1229 | priv->wstats.discard.misc++; |
---|
1231 | | - /* fall through */ |
---|
| 1230 | + fallthrough; |
---|
1232 | 1231 | case ISR_RxCOMPLETE: |
---|
1233 | 1232 | rx_done_irq(priv); |
---|
1234 | 1233 | break; |
---|
.. | .. |
---|
4229 | 4228 | /* Copyright 2003 Matthew T. Russotto */ |
---|
4230 | 4229 | /* But derived from the Atmel 76C502 firmware written by Atmel and */ |
---|
4231 | 4230 | /* included in "atmel wireless lan drivers" package */ |
---|
4232 | | -/** |
---|
| 4231 | +/* |
---|
4233 | 4232 | This file is part of net.russotto.AtmelMACFW, hereto referred to |
---|
4234 | 4233 | as AtmelMACFW |
---|
4235 | 4234 | |
---|