Fixing a clang warning about using uninitialized variable.

PR: 176712
Suggested by:	jhb
Approved by:	sbruno (mentor)
This commit is contained in:
Hiren Panchasara 2013-05-06 21:57:44 +00:00
parent f8aa444783
commit c2553fb9b8

View File

@ -9242,7 +9242,7 @@ bwn_dma_newbuf(struct bwn_dma_ring *dr, struct bwn_dmadesc_generic *desc,
/*
* Setup RX buf descriptor
*/
dr->setdesc(dr, desc, paddr, meta->mt_m->m_len -
dr->setdesc(dr, desc, meta->mt_paddr, meta->mt_m->m_len -
sizeof(*hdr), 0, 0, 0);
return (error);
}