hostap: pad the skb->cb usage in lieu of a proper fix
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 12 Nov 2008 21:54:22 +0000 (16:54 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Nov 2008 22:54:44 +0000 (14:54 -0800)
commit2b233b842dfb434bfc946bbd97ec475a01b89000
tree0a3c39d1cdc6f762f053aa66290938c5d95649cb
parent095d1c96367e0af6b566c9ec7eeae62f0a57d64e
hostap: pad the skb->cb usage in lieu of a proper fix

commit f7cd168645dda3e9067f24fabbfa787f9a237488 upstream.

Like mac80211 did, this driver makes 'clever' use of skb->cb to pass
information along with an skb as it is requeued from the virtual device
to the physical wireless device.  Unfortunately, that trick no longer
works...

Unlike mac80211, code complexity and driver apathy makes this hack
the best option we have in the short run.  Hopefully someone will
eventually be motivated to code a proper fix before all the effected
hardware dies.

(Above text by me.  Johannes officially disavows all knowledge of this
hack. -- JWL)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/hostap/hostap_wlan.h