Thread (14 messages) 14 messages, 7 authors, 2007-10-04

Re: [PATCH] mac80211: Fix TX after monitor interface is converted to managed

flat view

From: John W. Linville <hidden>
Date: 2007-10-04 15:38:36
Also in: linux-wireless

On Thu, Oct 04, 2007 at 05:06:05PM +0200, Michael Buesch wrote:
On Thursday 04 October 2007 16:34:43 Michael Wu wrote:
quoted
On Thursday 04 October 2007 07:33, Daniel Drake wrote:
quoted
Fix this by unsetting the hard_start_xmit handler in ieee80211_if_reinit.
It will then be reinitialised to the default (ieee80211_subif_start_xmit)
in ieee80211_if_set_type.
Well.. this kinda sucks, but we can clean up the logic here later.
quoted
+	BUG_ON(netif_running(dev));
This will never happen, so there's no point.
The reason why BUG_ON exists is to catch bugs that happen, although
they Should Never Happen (tm) ;)
Precisely.

-- 
John W. Linville
linville@tuxdriver.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help