diff options
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/commands.c')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/commands.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/commands.c b/drivers/net/wireless/iwmc3200wifi/commands.c index 1e41ad0fcad5..9ef4fd045041 100644 --- a/drivers/net/wireless/iwmc3200wifi/commands.c +++ b/drivers/net/wireless/iwmc3200wifi/commands.c | |||
@@ -781,10 +781,9 @@ int iwm_send_mlme_profile(struct iwm_priv *iwm) | |||
781 | return 0; | 781 | return 0; |
782 | } | 782 | } |
783 | 783 | ||
784 | int iwm_invalidate_mlme_profile(struct iwm_priv *iwm) | 784 | int __iwm_invalidate_mlme_profile(struct iwm_priv *iwm) |
785 | { | 785 | { |
786 | struct iwm_umac_invalidate_profile invalid; | 786 | struct iwm_umac_invalidate_profile invalid; |
787 | int ret; | ||
788 | 787 | ||
789 | invalid.hdr.oid = UMAC_WIFI_IF_CMD_INVALIDATE_PROFILE; | 788 | invalid.hdr.oid = UMAC_WIFI_IF_CMD_INVALIDATE_PROFILE; |
790 | invalid.hdr.buf_size = | 789 | invalid.hdr.buf_size = |
@@ -793,7 +792,14 @@ int iwm_invalidate_mlme_profile(struct iwm_priv *iwm) | |||
793 | 792 | ||
794 | invalid.reason = WLAN_REASON_UNSPECIFIED; | 793 | invalid.reason = WLAN_REASON_UNSPECIFIED; |
795 | 794 | ||
796 | ret = iwm_send_wifi_if_cmd(iwm, &invalid, sizeof(invalid), 1); | 795 | return iwm_send_wifi_if_cmd(iwm, &invalid, sizeof(invalid), 1); |
796 | } | ||
797 | |||
798 | int iwm_invalidate_mlme_profile(struct iwm_priv *iwm) | ||
799 | { | ||
800 | int ret; | ||
801 | |||
802 | ret = __iwm_invalidate_mlme_profile(iwm); | ||
797 | if (ret) | 803 | if (ret) |
798 | return ret; | 804 | return ret; |
799 | 805 | ||