Message ID | 20181226064328.75897-1-kjlu@umn.edu (mailing list archive) |
---|---|
State | Accepted |
Commit | fc6a6521556c8250e356ddc6a3f2391aa62dc976 |
Delegated to: | Kalle Valo |
Headers | show |
Series | wireless: ath: return error code upstream | expand |
Kangjie Lu <kjlu@umn.edu> writes: > ath6kl_wmi_cmd_send could fail, so let's return its error code upstream. > > Signed-off-by: Kangjie Lu <kjlu@umn.edu> > --- > drivers/net/wireless/ath/ath6kl/wmi.c | 4 +--- The correct prefix is "ath6kl: " but I can fix that. https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#commit_title_is_wrong
Kangjie Lu <kjlu@umn.edu> wrote: > ath6kl_wmi_cmd_send could fail, so let's return its error code upstream. > > Signed-off-by: Kangjie Lu <kjlu@umn.edu> > Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Patch applied to ath-next branch of ath.git, thanks. fc6a6521556c ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()
diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index 777acc564ac9..1f3cead3180b 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.c +++ b/drivers/net/wireless/ath/ath6kl/wmi.c @@ -776,10 +776,8 @@ int ath6kl_wmi_set_roam_lrssi_cmd(struct wmi *wmi, u8 lrssi) cmd->info.params.roam_rssi_floor = DEF_LRSSI_ROAM_FLOOR; cmd->roam_ctrl = WMI_SET_LRSSI_SCAN_PARAMS; - ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SET_ROAM_CTRL_CMDID, + return ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SET_ROAM_CTRL_CMDID, NO_SYNC_WMIFLAG); - - return 0; } int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid)
ath6kl_wmi_cmd_send could fail, so let's return its error code upstream. Signed-off-by: Kangjie Lu <kjlu@umn.edu> --- drivers/net/wireless/ath/ath6kl/wmi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)