Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215299
b: refs/heads/master
c: a23c220
h: refs/heads/master
i:
  215297: c8c919a
  215295: 55b3d53
v: v3
  • Loading branch information
Helmut Schaa authored and John W. Linville committed Oct 11, 2010
1 parent cae6758 commit 08b70e1
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: cfdfa4d3a0c7aa1287c61326a7714f262466157a
refs/heads/master: a23c22080345f1748a933f32736986ff11f44d60
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/rt2x00/rt2x00link.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@ void rt2x00link_update_stats(struct rt2x00_dev *rt2x00dev,
struct link_ant *ant = &rt2x00dev->link.ant;
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data;

/*
* No need to update the stats for !=STA interfaces
*/
if (!rt2x00dev->intf_sta_count)
return;

/*
* Frame was received successfully since non-succesfull
* frames would have been dropped by the hardware.
Expand Down

0 comments on commit 08b70e1

Please sign in to comment.