wimax/i2400m: don't write to memory allocated by request_firmware()
authorCindy H Kao <evans@localhost.localdomain>
Wed, 19 Aug 2009 02:27:18 +0000 (19:27 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 19 Oct 2009 06:55:47 +0000 (15:55 +0900)
commit8d8fe198c6a756ae96617548af4776e7a86c0d3e
treea3ff223523a46a5d4efd3bdea705622a766601d4
parent77e1251a7cc64c1e483a31c41c139fdf8121e75e
wimax/i2400m: don't write to memory allocated by request_firmware()

In kernel 2.6.31, the firmware requested to ram could be marked
with read only attribute, and we can't write any thing directly
to the memory when setting up the last JUMP brh cmd.

Changed so that the scratch buffer is used.

Signed-off-by: Cindy H Kao <cindy.h.kao@intel.com>
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/fw.c