diff
+ 1  if (sta_id >= mvm->max_sta_id) {
+ 2      return -EINVAL; // or another appropriate error code
+ 3  }
