]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[PATCH] isicom: correct firmware loading
authorJiri Slaby <jirislaby@gmail.com>
Sun, 1 Oct 2006 06:27:50 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:22 +0000 (00:39 -0700)
commite4e040887b8f136d00e253dcf584667d8cd560a6
tree70672802a7ace7663f6d785845a30418ee3ff305
parent3f27100872b21e4cc70d07b96eeb3611b30bce63
[PATCH] isicom: correct firmware loading

- loading of firmware didn't fail when something went wrong (returned 0).

- pointer to frame was incremented only by sizeof(frame) excluding its
  data contents -- bad idea.

- tell the card we're ready just after checking is complete, not before.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/isicom.c