]> git.baikalelectronics.ru Git - kernel.git/commit
zd1211rw: Fix data padding for QoS
authorMichael Buesch <mb@bu3sch.de>
Thu, 5 Jun 2008 14:55:10 +0000 (16:55 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Jun 2008 19:50:20 +0000 (15:50 -0400)
commitb492f60bb5b14f8bc11c8a050b66eafd90a578d9
treeea436324628e4b5c226f85b0bd38414d152c9b4c
parentc8288d213cc931d8b505562ff32e79d0811f4007
zd1211rw: Fix data padding for QoS

This patch fixes a data alignment issue in the zd1211rw driver.
The IEEE80211_STYPE_QOS_DATA bit should be used as a bitwise test
to test for the presence of the 2 byte QoS control field.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_mac.c