mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
fix reservations being cancelled. Ticket 1515 and many others.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2239 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
99cb8b0992
commit
c1ee53baa0
2 files changed
+5
-2
No files matched your search
@@ -607,7 +607,7 @@ static void bmcsensors_rcv_msg(struct ipmi_msg *msg)
|
||||
switch(state) {
|
||||
case STATE_INIT:
|
||||
case STATE_RESERVE:
|
||||
resid = (((u16)msg->data[2]) << 8) || msg->data[1];
|
||||
resid = (((u16)msg->data[2]) << 8) | msg->data[1];
|
||||
#ifdef DEBUG
|
||||
printk(KERN_DEBUG "bmcsensors.o: Got first resid 0x%.4x\n", resid);
|
||||
#endif
|
||||
@@ -625,7 +625,7 @@ static void bmcsensors_rcv_msg(struct ipmi_msg *msg)
|
||||
break;
|
||||
|
||||
case STATE_UNCANCEL:
|
||||
resid = (((u16)msg->data[2]) << 8) || msg->data[1];
|
||||
resid = (((u16)msg->data[2]) << 8) | msg->data[1];
|
||||
#ifdef DEBUG
|
||||
printk(KERN_DEBUG "bmcsensors.o: Got new resid 0x%.4x\n", resid);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user