From: hong zhang <henryzhang62@ya...> - 2007-05-28 17:20:24
I have a question regarding dev_queue_xmit() used in
First ath_attach() calls
dev->hard_start_xmit = ath_hardstart;
and then indirectly calls
dev->hard_start_xmit = ieee80211_hardstart;
when kernel sends packet dev->hard_start() will be
called. Now there are two dev->hard_start_xmit()
Which one takes packet from kernel?
dev_queue_xmit() will call dev->hard_start_xmit().
My point here is when dev_queue_xmit() is called by
ieee80211_hardstart() that gets packet from kernel
dev_queue_xmit() calls ieee80211_hadstart(). It calls
packet looping between kernel and driver froever.
Appreciate for any help on this question.
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.