Oops - used the wrong field.

Noticed by:	nwhitehorn
This commit is contained in:
Adrian Chadd 2012-03-05 02:36:15 +00:00
parent cf42b1cce7
commit 05f91fa06a

View File

@ -152,7 +152,7 @@ ieee80211_alq_log(struct ieee80211vap *vap, uint8_t op, u_char *p, int l)
r->r_version = 1;
r->r_wlan = htons(vap->iv_ifp->if_dunit);
r->r_op = op;
r->r_threadid = (uint32_t) curthread->td_ucred;
r->r_threadid = (uint32_t) curthread->td_tid;
memcpy(&r->r_payload, p, MIN(l, sizeof(r->r_payload)));
alq_post(ieee80211_alq, ale);
}