libertas: kill lbs_pre_start_xmit(), lib_mesh_pre_start_xmit()
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 9 Dec 2007 20:04:19 +0000 (15:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:26 +0000 (15:06 -0800)
commit198cefb9320ea0aa1be43a93b398435447583081
treed1c168af96af49b0331811c36be6693a62341a83
parenta2b62dc1f17db16034cd4eee0f14e6e56065547c
libertas: kill lbs_pre_start_xmit(), lib_mesh_pre_start_xmit()

These wrappers only do two things.

Firstly, they set the frame type, which isn't necessary since
lbs_hard_start_xmit() gets to see which device it belongs to anyway.

Secondly, they return -EOPNOTSUPP if the device is in monitor mode.
Which is a strange thing to do and will provide nasty warnings from
qdisc_restart(). And lbs_hard_start_xmit() seems to have code to cope
with monitor mode anyway.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c