Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193662
b: refs/heads/master
c: 93c5bb6
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Mar 9, 2010
1 parent ec425bf commit dab15b8
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 49d7f6d8113a04abacdf99525db9c17d872c1efa
refs/heads/master: 93c5bb68c89eff0cd41afce8ac932d12cc9d7ae8
7 changes: 7 additions & 0 deletions trunk/drivers/net/wireless/wl12xx/wl1271_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ static void wl1271_rx_handle_data(struct wl1271 *wl, u32 length)
u8 *buf;
u8 beacon = 0;

/*
* In PLT mode we seem to get frames and mac80211 warns about them,
* workaround this by not retrieving them at all.
*/
if (unlikely(wl->state == WL1271_STATE_PLT))
return;

skb = __dev_alloc_skb(length, GFP_KERNEL);
if (!skb) {
wl1271_error("Couldn't allocate RX frame");
Expand Down

0 comments on commit dab15b8

Please sign in to comment.