~jakub/helenos/ia64-revival

« back to all changes in this revision

Viewing changes to uspace/srv/hid/input/ctl/kbdev.c

  • Committer: Jakub Jermar
  • Date: 2012-02-18 16:47:38 UTC
  • mfrom: (527.1.874 HelenOS.mainline)
  • Revision ID: jakub@jermar.eu-20120218164738-abnijv1f5ckddwd9
MergeĀ mainlineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
        if (kbdev == NULL) {
111
111
                printf("%s: Failed allocating device structure for '%s'.\n",
112
112
                    NAME, kdev->svc_name);
 
113
                async_hangup(sess);
113
114
                return -1;
114
115
        }
115
116
 
168
169
 
169
170
                callid = async_get_call(&call);
170
171
                if (!IPC_GET_IMETHOD(call)) {
171
 
                        /* XXX Handle hangup */
 
172
                        kbdev_destroy(kbdev);
172
173
                        return;
173
174
                }
174
175