mesh: Fix adding virtual subscription to a vendor model 19/234219/1
authorInga Stotland <inga.stotland@intel.com>
Wed, 29 Apr 2020 18:05:41 +0000 (11:05 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 22 May 2020 04:23:43 +0000 (09:53 +0530)
commit4960ad81aea0e088367a02ed7a6e331a832f5f82
tree8f5442a95642017cd0dd983ab6d9b45c75b5ed9d
parentdd37bd5d36e6bddc09c001b7af4f80683c3d8445
mesh: Fix adding virtual subscription to a vendor model

This fixes a case when a configuration server receives a virtual
subscription add/overwrite command targeting a vendor model.
Correctly set "vendor" argument before trying to save the updated
subscrition to configuration file.

Change-Id: I7ff5ca02e20819b316ef2f3b62e7ff01092d3070
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
mesh/cfgmod-server.c