Author: remi
Date: 2009-09-28 01:28:42 +0200 (Mon, 28 Sep 2009)
New Revision: 5504

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/resources/02_robot/10_resourceRF.py
Log:
* Use the channel bandwidth of the configuration instead of the default value.

Modified: 
software_suite_v3/smart-core/smart-server/trunk/resources/02_robot/10_resourceRF.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/resources/02_robot/10_resourceRF.py
 2009-09-27 23:25:49 UTC (rev 5503)
+++ 
software_suite_v3/smart-core/smart-server/trunk/resources/02_robot/10_resourceRF.py
 2009-09-27 23:28:42 UTC (rev 5504)
@@ -153,7 +153,7 @@
         userChannel = self.configurator.getConfiguration()['avoided_channel']
         userBandwidth = 
self.configurator.getConfiguration()['avoided_bandwidth']
         if self.__channelIsInUse() != None:
-            self.avoidChannel(self.__channelIsInUse(), 
WIFI_DEFAULT_AVOIDED_BANDWIDTH)
+            self.avoidChannel(self.__channelIsInUse(), userBandwidth)
         else:
             if userChannel != None:
                 self.logger.logInfo("Manual wifi channel avoidance : ch=%d 
bw=%d" % (userChannel, userBandwidth))


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to