summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-09-05 16:51:24 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-09-05 16:51:24 +0300
commitaae77a1c6509b768692915d5607d2b03c364d694 (patch)
tree015c1e7b3f8edfd8a66e32c09bbbbb1d7a70fd27
parent8a4190b4130c005b20f738d4470d71e73bdb03e6 (diff)
Rename hfp_features more appropriately to hf_features
-rw-r--r--audio/headset.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 4dda362a..5d7b2f81 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -152,7 +152,7 @@ struct headset {
int sp_gain;
int mic_gain;
- unsigned int hfp_features;
+ unsigned int hf_features;
headset_lock_t lock;
};
@@ -337,9 +337,9 @@ static int supported_features(struct audio_device *device, const char *buf)
if (strlen(buf) < 9)
return -EINVAL;
- hs->hfp_features = strtoul(&buf[8], NULL, 10);
+ hs->hf_features = strtoul(&buf[8], NULL, 10);
- print_hf_features(hs->hfp_features);
+ print_hf_features(hs->hf_features);
err = headset_send(hs, "\r\n+BRSF=%u\r\n", ag.features);
if (err < 0)