iwlwifi: mvm: Set TX_CMD_FLG_PROT_REQUIRE correctly
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 29 Jan 2019 18:38:48 +0000 (20:38 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 20 Feb 2019 18:47:57 +0000 (20:47 +0200)
commita371bb646ff72f7ea13bdb920b2353b34f9d45b5
tree8700b87a646337eb80b4742903c7960641b9911a
parent503863055d9eff82a985739a73f13337fe9580ba
iwlwifi: mvm: Set TX_CMD_FLG_PROT_REQUIRE correctly

Previously the protection flag wasn't set on multicast frames even if
the RA is unicast. Fix this by checking addr1 instead.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c