iwlagn: verify that huge commands are synchronous
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Apr 2011 16:22:10 +0000 (09:22 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 18 Apr 2011 16:23:45 +0000 (09:23 -0700)
commit7b21f00ee6073909c01adeba317af3d78c3b9d0a
tree9f9034e4fed2e1b8fd5647e890ca7ada353b4d44
parent3e41ace5deef7af16dd277d9d17f9d36dca0a10e
iwlagn: verify that huge commands are synchronous

Since huge commands all share a single buffer,
there can only be a single one in flight at a
time since otherwise they'd overwrite each
other. This is true in the driver now, but it
seems like a possible source of bugs, so add
a test to verify that huge commands are always
sent synchronously.

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-tx.c