--- On Mon, 5/9/11, Serene Gud <serene_...@yahoo.co.in> wrote:


On Thu, Apr 28, 2011 at 8:43 PM, Serene Gud <serene_...@yahoo.co.in> wrote:

Hi all,

I am trying to make some function calls in net/mac80211/main.c which involve 
the net_device struct as one parameter, but I am unable to pass any arguments 
for it.


Can anybody suggest me how to initialize struct net_Device *dev?
 may be iface.c ? I am not sure







Hi all,

I am still unable to initialize the net_device structure. Also, now i 
doubt if it is possible to make a call to the functions defined in cfg.c
 (net/mac80211/cfg.c). All thefunctions in there were declared 'static';
 so I removed the static keyword so that I could make a call to the 
function in  main.c (net/mac80211/main.c) but now I am wondering if it 
is possible to do this or I am just trying something which cannot be 
done.

Thanks for the help!
Is it possible to do:

dev->name=wlan0;

where dev is an instance of struct net_device (struct net_device *dev;)



_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to