rt2x00: wireless CLI ID and packet ID must not be 0
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 17 Aug 2009 16:55:15 +0000 (18:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:36:01 +0000 (11:36 -0400)
commit534aff0288f49a2366b7e6fbb67ff035dea814d3
tree1ebcf7b3d1c4edc01e1df70a7097c66a12b39ac6
parent0fefe0fda4376eff97be965a41714da38fe4a36d
rt2x00: wireless CLI ID and packet ID must not be 0

In the TX descriptor the Packet ID must not be 0,
so add 1 to the ID. The wireless CLI ID is not allowed
to be 0 either, but also must be initialized with the
wcid value rather then keyid.

Based on a patch for rt2800pci from Benoit

Signed-off-by: Benoit PAPILLAULT <benoit.papillault@free.fr>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800usb.c