rt2800usb: use rt2x00usb_register_multiwrite() to set key entries
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 4 Nov 2009 17:32:58 +0000 (18:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Nov 2009 23:44:51 +0000 (18:44 -0500)
commit3306ef642a4dec6ba5341eceb8b9cb1e4a82ddb0
treea728df9ca05c1d6a152f765195456c6402de1bf0
parent02a39c209bda97f5dfd0c390c3926c131a052e34
rt2800usb: use rt2x00usb_register_multiwrite() to set key entries

Since struct hw_key_entry is 32-bytes large and is smaller than
CSR cache size (which is 64-bytes large) we can use the standard
rt2x00usb_register_multiwrite() helper to set key entries.

This cleanup is a part of preparations for later code unification.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800usb.c