K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-09-22T07:29:45.470485Z K 7 svn:log V 720 Free the mbuf before recycling the current rx ath_buf when doing a radiotap. ath_rxbuf_init() doesn't free/realloc existing mbufs (if they do exist), it just passes the buffer pointer/length to the HAL rx descriptor setup code. When doing radiotap however, the mbuf length is overridden before passing it off to radiotap/bpf. This means that the buffer will stay bein potentially shorter until it's next used for a valid frame. I was seeing short frames show up in packet traces, along with seemingly invalid frame contents, probe requests and other random stuff that didn't make sense. These only show up when doing a background radiotap/tcpdump. This patch fixes this behaviour. This is a merge candidate to HEAD. END