> static ieee80211_rx_result debug_noinline > +ieee80211_rx_h_mesh_fwding(struct ieee80211_rx_data *rx) > +{ > @@ -1683,6 +1697,8 @@ static void ieee80211_invoke_rx_handlers(struct ieee80211_sub_if_data *sdata, > /* must be after MMIC verify so header is counted in MPDU mic */ > CALL_RXH(ieee80211_rx_h_remove_qos_control) > CALL_RXH(ieee80211_rx_h_amsdu) > + if (ieee80211_vif_is_mesh(&sdata->vif)) > + CALL_RXH(ieee80211_rx_h_mesh_fwding); CALL_RXH cannot be used like that, it's not a statement, you should probably make it one or put the vif_is_mesh test into the ieee80211_rx_h_mesh_fwding function instead. > +#define skb_get_80211_fc(skb) (((struct ieee80211_hdr *) skb->data) \ > + ->frame_control) > + if (ieee80211_vif_is_mesh(&osdata->vif) && I'd rather just define the hdr struct you have two lines down before, it'll just be optimised out when mesh isn't there. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part