PS3: gelic: fix the oops on the broken IE returned from the hypervisor
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>
Mon, 14 Apr 2008 09:07:21 +0000 (18:07 +0900)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Apr 2008 19:04:36 +0000 (15:04 -0400)
commitb358492cd2a9c67bff352c5a60d86e7fc9627477
tree680040ef48b8d7d4f07d7b07e2ac205fa6170144
parentdc4ae1f46dbbcd08b3b5e23ad5ef87bf4bb41adf
PS3: gelic: fix the oops on the broken IE returned from the hypervisor

This fixes the bug that the driver would try to over-scan the memory
if the sum of the length field of every IEs does not match the length
returned from the hypervisor.

Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/ps3_gelic_wireless.c