]> git.karo-electronics.de Git - linux-beck.git/commit
IB/qib: Return correct MAD when setting link width to 255
authorMitko Haralanov <mitko@qlogic.com>
Wed, 23 Feb 2011 00:56:37 +0000 (16:56 -0800)
committerRoland Dreier <roland@purestorage.com>
Wed, 23 Feb 2011 00:56:37 +0000 (16:56 -0800)
commitcc7fb05946fb1cd2fd0582f9e39f759e20dfeefa
tree5b6bc0af27d0312f558f70b52ff82e17c1694e2b
parenta5bbef0b2deb7b943f095181309ecc9e1fc91c0f
IB/qib: Return correct MAD when setting link width to 255

Fix a bug which causes the driver to return incorrect MADs as a
response to Set(PortInfo) which sets the link width to 0xFF or link
speed to 0xF.

Signed-off-by: Mitko Haralanov <mitko@qlogic.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_mad.c