]> err.no Git - linux-2.6/commit
[PATCH] zd1211rw: Fixed endianess issue with length info tag detection
authorUlrich Kunitz <kune@deine-taler.de>
Tue, 1 Aug 2006 21:43:34 +0000 (23:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Aug 2006 18:26:51 +0000 (14:26 -0400)
commitb269825b9bb2c925bbaf4365ec9fa4c6a16e46b4
treef181233d2dc78a02f04a3e7e1d4281b5adcbe474
parentb1162b639cc13d5a1ab9bcbd0a502599ddf49f86
[PATCH] zd1211rw: Fixed endianess issue with length info tag detection

Discovered a problem while accessing www.python.org on my PPC32.
The problem was pretty consistent for all sticks. The reason was
that while testing for the length info tag, I ignored the
endianess of the host system.

Please recognize that converting the constant to little endian, we
create faster code.

Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_usb.c