radio: iris: Use service availability to indicate station's signal strength
Check the service availability event to indicate the signal strength of the tuned station. Change-Id: I7d1c1f3de13351222cfdc27bc2d80dd08aadfdf2 CRs-Fixed: 331137 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org>
This commit is contained in:
@@ -2086,7 +2086,8 @@ static void hci_ev_service_available(struct radio_hci_dev *hdev,
|
||||
struct sk_buff *skb)
|
||||
{
|
||||
struct iris_device *radio = video_get_drvdata(video_get_dev());
|
||||
if (radio->fm_st_rsp.station_rsp.serv_avble)
|
||||
u8 serv_avble = skb->data[0];
|
||||
if (serv_avble)
|
||||
iris_q_event(radio, IRIS_EVT_ABOVE_TH);
|
||||
else
|
||||
iris_q_event(radio, IRIS_EVT_BELOW_TH);
|
||||
|
||||
Reference in New Issue
Block a user