diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-12-03 14:35:30 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-12-05 17:35:59 +0300 |
commit | c112d0c5b89037dd618083b5fdf4bb36b0c51d77 (patch) | |
tree | 195a14b4482ef3506ffa51caa4ab7f6a5b58e003 /drivers/net/bnx2.h | |
parent | f8316df10c4e3bec5b4c3a5a8e026c577640c3a6 (diff) | |
download | linux-c112d0c5b89037dd618083b5fdf4bb36b0c51d77.tar.xz |
ath9k: Use GFP_ATOMIC when allocating TX private area
Using GFP_KERNEL was wrong and produces a 'scheduling while atomic'
bug as we're in a tasklet. Also, check for proper return values
now, in case allocation fails and be sure to stop the TX queue
in case of memory issues but gaurantee the TX queue will
eventually be woken up.
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/bnx2.h')
0 files changed, 0 insertions, 0 deletions