Hi, Kalle, Appreciate your explanation. I understand my mistake. Thanks Regards, Chun-Yeow On Mon, May 7, 2012 at 6:41 PM, Kalle Valo <kvalo@xxxxxxxxxx> wrote: > Yeoh Chun-Yeow <yeohchunyeow@xxxxxxxxx> writes: > >> Hi, Johannes >> >>>> >> + if (da != broadcast_addr) >>> >>> will never be false. >> >> Hmm, but I have a check on this and it works. The previous line will >> set the da either as broadcast addr or unicast addr. > > You are comparing pointers, not addresses. If you do that on purpose > then it's very confusing. > > -- > Kalle Valo -- 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