usb_c: Notify DPM of Unsupported message reception
Notify the Device Policy Manager when an unsupported message is received. Signed-off-by: Sam Hurst <sbh1187@gmail.com>
This commit is contained in:
parent
69a6ead783
commit
2d510fef8d
@ -898,6 +898,9 @@ static void pe_send_not_supported_entry(void *obj)
|
||||
|
||||
LOG_INF("PE_Not_Supported");
|
||||
|
||||
/* Notify the Device Policy Manager of unsupported message reception */
|
||||
policy_notify(dev, MSG_NOT_SUPPORTED_RECEIVED);
|
||||
|
||||
/* Request the Protocol Layer to send a Not_Supported or Reject Message. */
|
||||
if (prl_get_rev(dev, PD_PACKET_SOP) > PD_REV20) {
|
||||
pe_send_ctrl_msg(dev, PD_PACKET_SOP, PD_CTRL_NOT_SUPPORTED);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user