[PATCH] hostap: Use void *hw_priv instead of #ifdef in local data
authorJouni Malinen <jkmaline@cc.hut.fi>
Mon, 15 Aug 2005 02:08:41 +0000 (19:08 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 15 Aug 2005 03:06:27 +0000 (23:06 -0400)
commit67e0e473fb54e7657f6604236e42ef07fd7a2768
tree97b8086510c2ec70ffdc607df62c0f651dbab3cb
parentea3f1865f33bd328bf043f47492f401a42de5edb
[PATCH] hostap: Use void *hw_priv instead of #ifdef in local data

Replace hardware model specific #ifdef's in struct local_info with
void *hw_priv that is pointing to cs/pci/plx specific data
structure. This removes unneeded #ifdef's and as such, is a step
towards making it possible to share objects for hostap_hw.c and
hostap_download.c with cs/pci/plx drivers without having to compile
and link the same code separately for each one.

Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/wireless/hostap/hostap_cs.c
drivers/net/wireless/hostap/hostap_pci.c
drivers/net/wireless/hostap/hostap_plx.c
drivers/net/wireless/hostap/hostap_wlan.h