<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:manish.sogi@samsung.com" title="Manish <manish.sogi@samsung.com>"> <span class="fn">Manish</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Remove the unused "auto_connect" parameter from module-bluez4-device"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88952">bug 88952</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>pulseaudio-bugs@lists.freedesktop.org
           </td>
           <td>manish.sogi@samsung.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Remove the unused "auto_connect" parameter from module-bluez4-device"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88952#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Remove the unused "auto_connect" parameter from module-bluez4-device"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88952">bug 88952</a>
              from <span class="vcard"><a class="email" href="mailto:manish.sogi@samsung.com" title="Manish <manish.sogi@samsung.com>"> <span class="fn">Manish</span></a>
</span></b>
        <pre><a href="http://lists.freedesktop.org/archives/pulseaudio-discuss/2015-June/024085.html">http://lists.freedesktop.org/archives/pulseaudio-discuss/2015-June/024085.html</a>

Signed-off-by: Manish Sogi <manish.sogi at samsung.com>

---
 src/modules/bluetooth/module-bluez4-device.c |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/modules/bluetooth/module-bluez4-device.c
b/src/modules/bluetooth/module-bluez4-device.c
index db69d34..a23c2a9 100644
--- a/src/modules/bluetooth/module-bluez4-device.c
+++ b/src/modules/bluetooth/module-bluez4-device.c
@@ -75,7 +75,6 @@ PA_MODULE_USAGE(
         "rate=<sample rate> "
         "channels=<number of channels> "
         "path=<device object path> "
-        "auto_connect=<automatically connect?> "
         "sco_sink=<SCO over PCM sink name> "
         "sco_source=<SCO over PCM source name>");

@@ -94,7 +93,6 @@ static const char* const valid_modargs[] = {
     "rate",
     "channels",
     "path",
-    "auto_connect",
     "sco_sink",
     "sco_source",
     NULL
@@ -148,7 +146,6 @@ struct userdata {
     pa_hook_slot *transport_speaker_changed_slot;

     pa_bluez4_discovery *discovery;
-    bool auto_connect;

     char *output_port_name;
     char *input_port_name;
@@ -2460,12 +2457,6 @@ int pa__init(pa_module *m) {
         goto fail;
     }

-    u->auto_connect = true;
-    if (pa_modargs_get_value_boolean(ma, "auto_connect", &u->auto_connect)) {
-        pa_log("Failed to parse auto_connect= argument");
-        goto fail;
-    }
-
     channels = u->sample_spec.channels;
     if (pa_modargs_get_value_u32(ma, "channels", &channels) < 0 ||
         !pa_channels_valid(channels)) {
-- 
1.7.9.5</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>