Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235589
b: refs/heads/master
c: e2582ad
h: refs/heads/master
i:
  235587: 1efb738
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Jan 20, 2011
1 parent 90a0d2b commit fd4e253
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c09240ac4b9e2f7de91331dcbaa226424fe0eef4
refs/heads/master: e2582ad85a59bc758431db9648627c626ef2e2a7
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/brcmfmac/dhd_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ wl_host_event(struct dhd_info *dhd, int *ifidx, void *pktdata,
if (ifevent->action == WLC_E_IF_ADD)
dhd_add_if(dhd, ifevent->ifidx,
NULL, event->ifname,
pvt_data->eth.ether_dhost,
pvt_data->eth.h_dest,
ifevent->flags,
ifevent->bssidx);
else
Expand Down
12 changes: 6 additions & 6 deletions trunk/drivers/staging/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,11 +1031,11 @@ int dhd_sendpkt(dhd_pub_t *dhdp, int ifidx, struct sk_buff *pktbuf)
/* Update multicast statistic */
if (pktbuf->len >= ETH_ALEN) {
u8 *pktdata = (u8 *) (pktbuf->data);
struct ether_header *eh = (struct ether_header *)pktdata;
struct ethhdr *eh = (struct ethhdr *)pktdata;

if (is_multicast_ether_addr(eh->ether_dhost))
if (is_multicast_ether_addr(eh->h_dest))
dhdp->tx_multicast++;
if (ntoh16(eh->ether_type) == ETH_P_PAE)
if (ntoh16(eh->h_proto) == ETH_P_PAE)
atomic_inc(&dhd->pend_8021x_cnt);
}

Expand Down Expand Up @@ -1255,13 +1255,13 @@ void dhd_txcomplete(dhd_pub_t *dhdp, struct sk_buff *txp, bool success)
{
uint ifidx;
dhd_info_t *dhd = (dhd_info_t *) (dhdp->info);
struct ether_header *eh;
struct ethhdr *eh;
u16 type;

dhd_prot_hdrpull(dhdp, &ifidx, txp);

eh = (struct ether_header *)(txp->data);
type = ntoh16(eh->ether_type);
eh = (struct ethhdr *)(txp->data);
type = ntoh16(eh->h_proto);

if (type == ETH_P_PAE)
atomic_dec(&dhd->pend_8021x_cnt);
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include <sbsdpcmdev.h>
#include <bcmsdpcm.h>

#include <proto/ethernet.h>
#include <proto/802.1d.h>
#include <proto/802.11.h>

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include <bcmutils.h>
#include <bcmendian.h>
#include <proto/ethernet.h>

#include <asm/uaccess.h>

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmfmac/wl_iw.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

#include <bcmutils.h>
#include <bcmendian.h>
#include <proto/ethernet.h>

#include <linux/if_arp.h>
#include <asm/uaccess.h>
Expand All @@ -35,7 +34,6 @@
typedef const struct si_pub si_t;
#include <wlioctl.h>

#include <proto/ethernet.h>
#include <dngl_stats.h>
#include <dhd.h>

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/include/proto/bcmevent.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ typedef BWL_PRE_PACKED_STRUCT struct {

#ifdef BRCM_FULLMAC
typedef BWL_PRE_PACKED_STRUCT struct bcm_event {
struct ether_header eth;
struct ethhdr eth;
bcmeth_hdr_t bcm_hdr;
wl_event_msg_t event;
} BWL_POST_PACKED_STRUCT bcm_event_t;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/brcm80211/sys/wlc_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ void *wlc_attach(void *wl, u16 vendor, u16 device, uint unit, bool piomode,

/* some code depends on packed structures */
ASSERT(sizeof(struct ether_addr) == ETH_ALEN);
ASSERT(sizeof(struct ether_header) == ETH_HLEN);
ASSERT(sizeof(struct ethhdr) == ETH_HLEN);
ASSERT(sizeof(d11regs_t) == SI_CORE_SIZE);
ASSERT(sizeof(ofdm_phy_hdr_t) == D11_PHY_HDR_LEN);
ASSERT(sizeof(cck_phy_hdr_t) == D11_PHY_HDR_LEN);
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/staging/brcm80211/util/bcmsrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <sbsdpcmdev.h>
#endif

#include <linux/if_ether.h>
#include <proto/ethernet.h> /* for sprom content groking */

#define BS_ERROR(args)
Expand Down

0 comments on commit fd4e253

Please sign in to comment.