/* Searchs for a sap in the sap list of the LLC's station upon the sap ID. If the sap is found it will be refcounted and the user will have to do a llc_sap_put after use. Returns the sap or NULL if not found.  */
struct llc_sap* llc_sap_find(unsigned char sap_value)
/* Searchs for a sap in the sap list of the LLC's station upon the sap ID. If the sap is found it will be refcounted and the user will have to do a llc_sap_put after use. Returns the sap or NULL if not found.  */
struct llc_sap* llc_sap_find(unsigned char sap_value)
{
	struct llc_sap* sap;
	read_lock_bh(&llc_sap_list_lock);
	sap = __llc_sap_find(sap_value);
	if (sap)
		llc_sap_hold(sap);
	read_unlock_bh(&llc_sap_list_lock);
	return sap;
}