Lines Matching refs:ret
108 int ret;
115 ret = wl1251_acx_beacon_filter_opt(wl, true);
116 if (ret < 0)
117 return ret;
119 ret = wl1251_acx_wake_up_conditions(wl,
122 if (ret < 0)
123 return ret;
125 ret = wl1251_acx_bet_enable(wl, WL1251_ACX_BET_ENABLE,
127 if (ret < 0)
128 return ret;
130 ret = wl1251_cmd_ps_mode(wl, CHIP_POWER_SAVE_MODE);
131 if (ret < 0)
132 return ret;
134 ret = wl1251_acx_sleep_auth(wl, WL1251_PSM_ELP);
135 if (ret < 0)
136 return ret;
141 ret = wl1251_acx_sleep_auth(wl, WL1251_PSM_ELP);
142 if (ret < 0)
143 return ret;
145 ret = wl1251_cmd_template_set(wl, CMD_DISCONNECT, NULL, 0);
146 if (ret < 0)
147 return ret;
153 ret = wl1251_acx_sleep_auth(wl, WL1251_PSM_CAM);
154 if (ret < 0)
155 return ret;
158 ret = wl1251_acx_bet_enable(wl, WL1251_ACX_BET_DISABLE,
160 if (ret < 0)
161 return ret;
164 ret = wl1251_acx_beacon_filter_opt(wl, false);
165 if (ret < 0)
166 return ret;
168 ret = wl1251_acx_wake_up_conditions(wl,
171 if (ret < 0)
172 return ret;
174 ret = wl1251_cmd_ps_mode(wl, CHIP_ACTIVE_MODE);
175 if (ret < 0)
176 return ret;
182 return ret;