Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278397
b: refs/heads/master
c: 0c094c7
h: refs/heads/master
i:
  278395: 51b3fd8
v: v3
  • Loading branch information
Franky Lin authored and John W. Linville committed Nov 28, 2011
1 parent 3e5eb83 commit c0d307e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a52dd17d20be1fb6a111468f3ca8bfa0af7c0903
refs/heads/master: 0c094c77ce9c338adc08d6d71b2d92a7761992b8
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,12 @@ void brcmf_rx_frame(struct brcmf_pub *drvr, int ifidx,
if (ifp == NULL)
ifp = drvr_priv->iflist[0];

if (!ifp || !ifp->ndev ||
ifp->ndev->reg_state != NETREG_REGISTERED) {
brcmu_pkt_buf_free_skb(skb);
continue;
}

skb->dev = ifp->ndev;
skb->protocol = eth_type_trans(skb, skb->dev);

Expand Down

0 comments on commit c0d307e

Please sign in to comment.