> + struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *) skb->data; > + struct mac80211_hwsim_data *data = hw->priv; > + > + if (ieee80211_is_beacon(mgmt->frame_control) || > + ieee80211_is_probe_resp(mgmt->frame_control)) > + mgmt->u.beacon.timestamp = __mac80211_hwsim_get_tsf(data); In light of the recent discussion ... John will have to point out to you that the right style is if (ieee80211...() || ieee80211...()) { } :-) johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html