diff
+#include <assert.h>
+
 int iwl_mvm_mld_rm_sta_id(struct iwl_mvm *mvm, u8 sta_id)
 {
+    assert(mvm != NULL);
     int ret = iwl_mvm_mld_rm_sta_from_fw(mvm, sta_id);
     lockdep_assert_held(&mvm->mutex);
