def statusError(pkt):
    """
	Grabs the status (int) from an error packet and returns it. It retuns -1
	if the packet is not a status packet.
	"""
    if pkt[7] == 85:
        return pkt[8]
    return -1
