patch-2.2.7 linux/net/irda/irlpt/irlpt_cli.c
Next file: linux/net/irda/irmod.c
Previous file: linux/net/irda/irlmp_frame.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sat Apr 24 17:50:06 1999
- Orig file:
v2.2.6/linux/net/irda/irlpt/irlpt_cli.c
- Orig date:
Fri Apr 16 14:47:31 1999
diff -u --recursive --new-file v2.2.6/linux/net/irda/irlpt/irlpt_cli.c linux/net/irda/irlpt/irlpt_cli.c
@@ -518,8 +518,8 @@
* Fixed to match changes in iriap.h, DB.
*
*/
-void irlpt_client_get_value_confirm(__u16 obj_id, struct ias_value *value,
- void *priv)
+void irlpt_client_get_value_confirm(int result, __u16 obj_id,
+ struct ias_value *value, void *priv)
{
struct irlpt_info info;
struct irlpt_cb *self;
@@ -534,7 +534,7 @@
ASSERT( self->magic == IRLPT_MAGIC, return;);
/* Check if request succeeded */
- if ( !value) {
+ if (result != IAS_SUCCESS) {
DEBUG( 0, __FUNCTION__ "(), got NULL value!\n");
irlpt_client_do_event( self, IAS_PROVIDER_NOT_AVAIL, NULL,
&info);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)