Adrian Chadd 3f3a5dbd2c Ensure that we only call the busdma unmap/flush routines once, when
the buffer is being freed.

* When buffers are cloned, the original mapping isn't copied but it
  wasn't freeing the mapping until later.  To be safe, free the
  mapping when the buffer is cloned.

* ath_freebuf() now no longer calls the busdma sync/unmap routines.

* ath_tx_freebuf() now calls sync/unmap.

* Call sync first, before calling unmap.

Tested:

* AR5416, STA mode
2013-04-01 20:57:13 +00:00
..
2013-03-17 07:28:17 +00:00
2013-01-22 18:51:14 +00:00
2012-07-28 21:56:24 +00:00
2013-02-19 18:22:25 +00:00
2012-08-06 08:58:54 +00:00
2012-10-26 20:24:13 +00:00
2012-11-23 19:20:38 +00:00
2013-03-01 01:42:31 +00:00
2012-07-26 13:58:43 +00:00
2013-03-29 18:03:00 +00:00
2013-02-19 19:25:50 +00:00
2013-03-19 14:53:23 +00:00
2013-02-25 16:22:40 +00:00
2013-02-21 12:40:52 +00:00
2013-03-04 16:16:23 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00
2013-03-21 07:04:17 +00:00
2012-10-10 08:36:38 +00:00