qcacmn: Add error handling in the Spectral control path

Add an attribute which describes the error code
in the response to set config, start scan and stop
scan.

CRs-Fixed: 2500481
Change-Id: I491cd6e061d2d08ceb4d9af2a7de5223e229c280
Dieser Commit ist enthalten in:
Edayilliam Jayadev
2019-08-26 14:32:33 +05:30
committet von nshrivas
Ursprung ae946e39c7
Commit 9217a212bb
10 geänderte Dateien mit 231 neuen und 49 gelöschten Zeilen

Datei anzeigen

@@ -429,7 +429,8 @@ spectral_control_cmn(struct wlan_objmgr_pdev *pdev,
break;
case SPECTRAL_STOP_SCAN:
sc->sptrlc_stop_spectral_scan(pdev, smode);
err = &sscan_req->action_req.sscan_err_code;
sc->sptrlc_stop_spectral_scan(pdev, smode, err);
break;
case SPECTRAL_GET_CAPABILITY_INFO: