[PATCH 6.1 146/473] wifi: carl9170: add a proper sanity check for endpoints