- if (!data->auth_allowed) return PLUGIN_RET_OK;
-
- if (!data->s->rx_connect_speed)
- {
- switch (data->s->tx_connect_speed)
- {
- case 256 :
- data->s->rx_connect_speed = 64;
- break;
- case 512 :
- data->s->rx_connect_speed = 128;
- break;
- case 1500 :
- data->s->rx_connect_speed = 256;
- break;
- }
- }
- return PLUGIN_RET_OK;
+ if (!data->auth_allowed)
+ return PLUGIN_RET_OK;
+
+ if (data->s->rx_connect_speed)
+ return PLUGIN_RET_OK;
+
+ switch (data->s->tx_connect_speed)
+ {
+ case 256:
+ data->s->rx_connect_speed = 64;
+ break;
+
+ case 512:
+ data->s->rx_connect_speed = 128;
+ break;
+
+ case 1500:
+ data->s->rx_connect_speed = 256;
+ break;
+ }
+
+ return PLUGIN_RET_OK;