]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
wcn36xx: Use correct command struct for EXIT_BMPS_REQ
authorPontus Fuchs <pontus.fuchs@gmail.com>
Wed, 2 Apr 2014 07:49:29 +0000 (09:49 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Aug 2017 10:51:36 +0000 (12:51 +0200)
EXIT_BMPS_REQ was using the command struct for ENTER_BMPS_REQ. I
spotted this when looking at command dumps.

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
drivers/net/wireless/ath/wcn36xx/smd.c

index d9582554527a8887929b122a2d8641e22be819fc..abeeb36667857c9df779f5834207d94dc6a9aa08 100644 (file)
@@ -1691,7 +1691,7 @@ out:
 
 int wcn36xx_smd_exit_bmps(struct wcn36xx *wcn, struct ieee80211_vif *vif)
 {
-       struct wcn36xx_hal_enter_bmps_req_msg msg_body;
+       struct wcn36xx_hal_exit_bmps_req_msg msg_body;
        struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif);
        int ret = 0;