Dude,

If your buddy got pulled over for DUI then why did they search you? Did you let them? If so it is your fault you got busted. If they asked you can we search you and you said yes, you gave up your rights. If not and they searched you anyway then that search was illeagel. They have to have a reason to search you. Just because your brother inlaw was driving drunk is not a reason to search you, you were not breaking the law. The only leagal reason I can see for them too search you is if they smelled it, then they have the right.

I am not a lawer but I know my rights.