[PATCH] rtl8187: Fix more frag bit checking, rts duration calc
authorMichael Wu <flamingice@sourmilk.net>
Wed, 10 Oct 2007 21:28:59 +0000 (17:28 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 18 Oct 2007 19:38:24 +0000 (15:38 -0400)
commit98798f4875b7149db4eb7d0a126fc6dcd9637821
treeb34c9b2401f68fabf354493b6bb9992c3eceeeb4
parentd20c678a450a25c1c12925f60c1b4cc040acc17d
[PATCH] rtl8187: Fix more frag bit checking, rts duration calc

The wrong pointer is passed to ieee80211_get_morefrag. Fix this.

While we're at it, reorder things so they look better and the rts duration
calculation is done with the right length.

Thanks to Christoph Hellwig for finding the ieee80211_get_morefrag issue.

Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl8187_dev.c