ALSA: seq: fill client ID in return value of pool operation
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 11 Apr 2015 04:24:47 +0000 (13:24 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sat, 11 Apr 2015 07:11:19 +0000 (09:11 +0200)
commit3e21a19d1d6775591415efd5617375ba42c41bbd
treef1a14c8fe92f8a4311b40b036513b46418d9f04a
parentf4d3129c2b580ad2b82aa3211a6216bbf7ad007c
ALSA: seq: fill client ID in return value of pool operation

The returned value of 'get/seq client pool' operation has zeroed value
for its client ID, against requested client ID.

This commit fix the bug by filling it with index value of referred
client object.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_clientmgr.c