Fixed return value when MSD returns an error in dorequest().

This commit is contained in:
mark 2000-01-27 14:40:54 +00:00
parent eb24c59a15
commit 3d9d570e91
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ int p80211req_dorequest( wlandevice_t *wlandev, UINT8 *msgbuf)
result = 0;
}
}
} else {
result = -retval; /* retval should be a positive errno */
}
}