commit | 640c65eae673d2caf6e7bf61c1eb4e9513b88fda | [log] [tgz] |
---|---|---|
author | Jouni Malinen <j@w1.fi> | Mon Mar 16 21:47:33 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Mar 16 18:01:59 2009 -0400 |
tree | f7d5fff2fe31dea17393318d0e8deafd65b1ed36 | |
parent | 055249d20de06c290fe7625be0a7164bef3958f5 [diff] |
zd1211rw: Do not panic on device eject when associated zd_op_tx() must not return an arbitrary error value since that can leave mac80211 trying to retransmit the frame and with the extra data pushed into the beginning of the skb on every attempt, this will end up causing a kernel panic (skb_under_panic from skb_push call). This can happen, e.g., when ejecting the device when associated. Signed-off-by: Jouni Malinen <j@w1.fi> Signed-off-by: John W. Linville <linville@tuxdriver.com>