]> 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)
commitdd7630fd1febcabdfba82defd6d8b6a936541471
treee6685e5406bf927235dfcd931af0622667ecc985
parent6afdd64081cf60371c1f59458d16ff3e0b9bd664
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