libertas: only enable rtap with mesh firmware
authorDan Williams <dcbw@redhat.com>
Tue, 29 Jul 2008 17:50:39 +0000 (13:50 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Aug 2008 19:31:34 +0000 (15:31 -0400)
commit3b72b01d3ab623c296df49f2d71d40a38bcfb4b3
treedc81c662fa88169c67ad5abdc55eaa696aa6c8b8
parentd4764b29b6e0f1608e397930677928e5a3f62bba
libertas: only enable rtap with mesh firmware

Since only mesh-enabled firmware has the CMD_802_11_MONITOR_MODE on
which the rtap functionality depends, only expose the rtap functionality
when mesh is also available.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c