[PATCH 6.0 318/862] cw1200: fix incorrect check to determine if no element is found in list