adding code for discarding erroneous frame with CTS bit on