ath10k: don't use reassoc flag
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 10 Apr 2015 13:23:20 +0000 (13:23 +0000)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 17 Apr 2015 06:37:00 +0000 (09:37 +0300)
Firmware actually re-creates peer entry when
reassoc flag is set. This is undesired and could
cause trouble with IBSS crypto-wise. This is also
important for upcomming bitrate mask improvement.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c

index 1029f33020b58f0851dcfef96f8705a145c1cc69..dd0dd6e4bb0a657b337f1f672cf208362f51ea9d 100644 (file)
@@ -2552,7 +2552,6 @@ static int ath10k_station_assoc(struct ath10k *ar,
                return ret;
        }
 
-       peer_arg.peer_reassoc = reassoc;
        ret = ath10k_wmi_peer_assoc(ar, &peer_arg);
        if (ret) {
                ath10k_warn(ar, "failed to run peer assoc for STA %pM vdev %i: %d\n",