Lines Matching refs:ret
94 int ret;
101 ret = wl1251_acx_beacon_filter_opt(wl, true);
102 if (ret < 0)
103 return ret;
105 ret = wl1251_acx_wake_up_conditions(wl,
108 if (ret < 0)
109 return ret;
111 ret = wl1251_acx_bet_enable(wl, WL1251_ACX_BET_ENABLE,
113 if (ret < 0)
114 return ret;
116 ret = wl1251_cmd_ps_mode(wl, CHIP_POWER_SAVE_MODE);
117 if (ret < 0)
118 return ret;
120 ret = wl1251_acx_sleep_auth(wl, WL1251_PSM_ELP);
121 if (ret < 0)
122 return ret;
127 ret = wl1251_acx_sleep_auth(wl, WL1251_PSM_ELP);
128 if (ret < 0)
129 return ret;
131 ret = wl1251_cmd_template_set(wl, CMD_DISCONNECT, NULL, 0);
132 if (ret < 0)
133 return ret;
139 ret = wl1251_acx_sleep_auth(wl, WL1251_PSM_CAM);
140 if (ret < 0)
141 return ret;
144 ret = wl1251_acx_bet_enable(wl, WL1251_ACX_BET_DISABLE,
146 if (ret < 0)
147 return ret;
150 ret = wl1251_acx_beacon_filter_opt(wl, false);
151 if (ret < 0)
152 return ret;
154 ret = wl1251_acx_wake_up_conditions(wl,
157 if (ret < 0)
158 return ret;
160 ret = wl1251_cmd_ps_mode(wl, CHIP_ACTIVE_MODE);
161 if (ret < 0)
162 return ret;
168 return ret;