1242 @return tuple containing a flag indicating success and an error message |
1242 @return tuple containing a flag indicating success and an error message |
1243 @rtype tuple of (bool, str) |
1243 @rtype tuple of (bool, str) |
1244 """ |
1244 """ |
1245 if security is None or password is None: |
1245 if security is None or password is None: |
1246 security = 0 |
1246 security = 0 |
1247 password = "" |
1247 password = "" # secok |
1248 authmode = self.__securityCode2AuthModeString[security] |
1248 authmode = self.__securityCode2AuthModeString[security] |
1249 |
1249 |
1250 if ifconfig: |
1250 if ifconfig: |
1251 return ( |
1251 return ( |
1252 False, |
1252 False, |