mei: fix max number of open handles
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 23 Aug 2012 21:35:58 +0000 (00:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 20:45:56 +0000 (13:45 -0700)
commit1e2776c3aff1a4c79751b2a7045524fb141c2405
tree01664a809e021bf0776d9ac56b8ea11bf9c5b369
parentdaed6b5e78c11f34f08cc2bc1640b7f248884cee
mei: fix max number of open handles

There was internal confusion in wether bus message
clinet (0) is counted in or not

The bitmap me_clients_map that accomodate
was initialized w/o it (255) but later on it
the clinet 0 was reserved

Thus were able to open only 252 instead of 253 clients

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/mei_dev.h