]> git.baikalelectronics.ru Git - kernel.git/commit
iwl3945: fix length of dma buffers
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 14 Mar 2013 11:48:40 +0000 (12:48 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 18 Mar 2013 19:20:34 +0000 (15:20 -0400)
commit11f44de48884bb08c0c22ca2b6e8fd45e88c5fa2
tree2745bd32e19aa7ec9cd9f30ad27b4c255c6c4532
parent98d70e0ae74d43d1e1e4d420b6875600025a70e5
iwl3945: fix length of dma buffers

commit 13e5fba53219816ae5709c1e6bafb5310eabbcd7
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Wed Feb 13 15:49:08 2013 +0100

    iwlegacy: more checks for dma mapping errors

broke il3945_tx_skb() dma buffer length settings, what results on
firmware errors like showed below and make 3945 device non usable.

iwl3945 0000:02:00.0: Microcode SW error detected. Restarting 0x82000008.
iwl3945 0000:02:00.0: Loaded firmware version: 15.32.2.9
iwl3945 0000:02:00.0: Start IWL Error Log Dump:
iwl3945 0000:02:00.0: Status: 0x000202E4, count: 1
iwl3945 0000:02:00.0: Desc  Time    asrtPC blink2 ilink1  nmiPC   Line
iwl3945 0000:02:00.0: SYSASSERT     (0x5) 0000208934 0x008B6 0x0035E 0x00320 0x00000 267
iwl3945 0000:02:00.0: Error Reply type 0x00000001 cmd

Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
Reported-by: Krzysztof Kolasa <kkolasa@winsoft.pl>
Reported-by: Pedro Francisco <pedrogfrancisco@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/3945-mac.c