]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit87f9c28b7cf82a5469ae25779af080518b2fcde4
tree1ebcf7b3d1c4edc01e1df70a7097c66a12b39ac6
parentb9d7ffe09124c52478ae96db2ec796f7c7d67e13
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