summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/cw1200/txrx.c
Commit message (Collapse)AuthorAgeFilesLines
* cw1200: Fix OOPS in monitor modeSolomon Peachy2013-07-221-1/+1
| | | | | | | | In monitor mode, priv->vif is NULL, but at one point in the receive path we blindly attempt to dereference it. Add a test to prevent this. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: Fix up a large pile of sparse warningsSolomon Peachy2013-06-241-5/+4Star
| | | | | | | | | | | | | | | | Most of these relate to endianness problems, and are purely cosmetic. But a couple of them were legit -- listen interval parsing and some of the rate selection code would malfunction on BE systems. There's still one cosmetic warning remaining, in the (admittedly) ugly code in cw1200_spi.c. It's there because the hardware needs 16-bit SPI transfers, but many SPI controllers only operate 8 bits at a time. If there's a cleaner way of handling this, I'm all ears. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: Fix an assorted pile of checkpatch warnings.Solomon Peachy2013-06-111-18/+25
| | | | | Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: Remove "ITP" debug subsystem.Solomon Peachy2013-06-111-8/+2Star
| | | | | | | This can live on as an out-of-tree patch for those that care. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: read beyond end of array in debug codeDan Carpenter2013-06-101-3/+2Star
| | | | | | | | This has only one caller and rates[] is an array with IEEE80211_TX_MAX_RATES (4) elements. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsetsSolomon Peachy2013-05-291-0/+1474
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>