rt2x00: Fix chipset debugfs file
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 6 Jan 2008 22:38:10 +0000 (23:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:09:21 +0000 (15:09 -0800)
commit3e34c6dcb36bbd5294cae2654c32e24b9787da3a
tree9903b6b515b0497b60bae0886814cd9f5caca7e1
parent96c755a3923748313851da42018c962f5609942f
rt2x00: Fix chipset debugfs file

Initialize blob->data before moving the data pointer
Initialize blob->size based on blob->data size

This fixes the empty chipset file in debugfs.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00debug.c