diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 4cd9e45b1443..7065fd7e7ba2 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -1550,7 +1550,10 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx) | |||
1550 | info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; | 1550 | info->flags |= IEEE80211_TX_INTFL_NEED_TXPROCESSING; |
1551 | info->control.vif = &rx->sdata->vif; | 1551 | info->control.vif = &rx->sdata->vif; |
1552 | ieee80211_select_queue(local, fwd_skb); | 1552 | ieee80211_select_queue(local, fwd_skb); |
1553 | if (!is_multicast_ether_addr(fwd_hdr->addr1)) { | 1553 | if (is_multicast_ether_addr(fwd_hdr->addr1)) |
1554 | IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.mesh, | ||
1555 | fwded_mcast); | ||
1556 | else { | ||
1554 | int err; | 1557 | int err; |
1555 | /* | 1558 | /* |
1556 | * Save TA to addr1 to send TA a path error if a | 1559 | * Save TA to addr1 to send TA a path error if a |
@@ -1564,6 +1567,9 @@ ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx) | |||
1564 | * later to the pending skb queue. */ | 1567 | * later to the pending skb queue. */ |
1565 | if (err) | 1568 | if (err) |
1566 | return RX_DROP_MONITOR; | 1569 | return RX_DROP_MONITOR; |
1570 | |||
1571 | IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.mesh, | ||
1572 | fwded_unicast); | ||
1567 | } | 1573 | } |
1568 | IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.mesh, | 1574 | IEEE80211_IFSTA_MESH_CTR_INC(&sdata->u.mesh, |
1569 | fwded_frames); | 1575 | fwded_frames); |