intel / wds

Wireless Display Software For Linux OS (WDS)
https://01.org/wds
GNU Lesser General Public License v2.1
511 stars 104 forks source link

Boolean logic error in assert #180

Open mmcco opened 6 years ago

mmcco commented 6 years ago

This assert always evaluates to true. The author presumably either meant to use != instead of ==, or && instead of ||. That is, they were checking that the version was only 2.0 or 2.1, or that it was neither 2.0 nor 2.1.

Thanks for your time, Michael McConville, University of Utah