Re: [PATCH_v3 1/4] android/pan: Register Network Access Point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Szymon,

On 01/08/2014 11:18 AM, Szymon Janc wrote:
Hi Ravi,

+
+	nap_dev.record_id = rec->handle;
  	ipc_register(HAL_SERVICE_ID_PAN, cmd_handlers,
  						G_N_ELEMENTS(cmd_handlers));
@@ -455,6 +559,6 @@ void bt_pan_unregister(void)
  	bnep_cleanup();
ipc_unregister(HAL_SERVICE_ID_PAN);
-	bt_adapter_remove_record(record_id);
-	record_id = 0;
+	bt_adapter_remove_record(nap_dev.record_id);
+	destroy_nap_device();
I would either zero nap_dev.record_id right after removing record or move
removing record to destroy_nap_device().

 OK, I will zero it right after removing record.

 Thanks,
 Ravi.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux