-rw-r--r-- | libopie2/opienet/onetwork.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libopie2/opienet/onetwork.cpp b/libopie2/opienet/onetwork.cpp index 36f409b..915814d 100644 --- a/libopie2/opienet/onetwork.cpp +++ b/libopie2/opienet/onetwork.cpp | |||
@@ -1199,2 +1199,8 @@ void OOrinocoMonitoringInterface::setChannel( int c ) | |||
1199 | { | 1199 | { |
1200 | if ( !_if->hasPrivate( "monitor" ) ) | ||
1201 | { | ||
1202 | this->OMonitoringInterface::setChannel( c ); | ||
1203 | } | ||
1204 | else | ||
1205 | { | ||
1200 | int monitorCode = _prismHeader ? 1 : 2; | 1206 | int monitorCode = _prismHeader ? 1 : 2; |
@@ -1202,2 +1208,3 @@ void OOrinocoMonitoringInterface::setChannel( int c ) | |||
1202 | } | 1208 | } |
1209 | } | ||
1203 | 1210 | ||
@@ -1206,6 +1213,2 @@ void OOrinocoMonitoringInterface::setEnabled( bool b ) | |||
1206 | { | 1213 | { |
1207 | // IW_MODE_MONITOR was introduced in Wireless Extensions Version 15 | ||
1208 | // Wireless Extensions < Version 15 need iwpriv commandos for monitoring | ||
1209 | // However, as of recent orinoco drivers, IW_MODE_MONITOR is still not supported | ||
1210 | |||
1211 | if ( b ) | 1214 | if ( b ) |