Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 080557cb authored by Sunny Kapdi's avatar Sunny Kapdi Committed by Matthew Xie
Browse files

Bluetooth: Send Error for Invalid AT Command.

Some Headsets send HFP 1.6 cmds even when it is not
supported by DUT.Send error response in those cases.

bug 11450717

Change-Id: If7745959c00fd49bd737b41a49adba9e726aa5c7
parent 3005e0ed
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1246,6 +1246,7 @@ void bta_ag_at_hfp_cback(tBTA_AG_SCB *p_scb, UINT16 cmd, UINT8 arg_type,
#endif

        default:
            bta_ag_send_error(p_scb, BTA_AG_ERR_OP_NOT_SUPPORTED);
            break;
    }