staging: rtlxxxx: off by one in AsicSendCommandToMcu() and NDIS_STATUS NICLoadFirmware()
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 13 May 2009 18:37:54 +0000 (20:37 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:51 +0000 (11:00 -0700)
commitf991a65c0cb8eaf855404a0e6c753053de08cdda
tree7b5acc7b2b8b9a28bb4715e04934cf714662cf10
parent8d72f98abbabddd5785a668e0d24db3e739f78b4
staging: rtlxxxx: off by one in AsicSendCommandToMcu() and NDIS_STATUS NICLoadFirmware()

With a postfix increment i/Index is incremented beyond 100/1000 so the
message will be displayed too soon.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/mlme.c
drivers/staging/rt2860/common/rtmp_init.c