]> git.baikalelectronics.ru Git - kernel.git/commit
iwlagn: simplify TX flags assignments
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 Jul 2011 12:11:51 +0000 (05:11 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Sat, 16 Jul 2011 14:38:09 +0000 (07:38 -0700)
commit55cd9ad5e2eab6210567feccecc2919e61f2edbf
treee6685e5406bf927235dfcd931af0622667ecc985
parent64a42e4efa2fb800effb2439cbb39a31cff507d1
iwlagn: simplify TX flags assignments

The first assignment of TX_CMD_FLG_SEQ_CTL_MSK for
ack-expected mgmt frames is overwritten later in
the function, so it's useless. Also, probe response
frames, BACK request and others there are mutually
exclusive so can be moved into an else branch.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c