oemcommands: fix set and get drive info commands
- The parameter # of these commands are 0-based but the code treats
a number smaller than 1 as an invalid input. The condition has to
be removed for the command to be issued properly.
- The part that checks for the existence of oemData fields fails to
compare the results on the same level.
- dimmInfoKey is micused for Get Drive Info command. Change it back
to driveInfoKey.
Change-Id: I182257b8a7fd4f06a5aa3e66b05cc12fa2594c05
Signed-off-by: Bruce Hung <bruce.jy.hung@fii-foxconn.com>
1 file changed