diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-10-11 15:47:06 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-10-14 09:47:08 +0200 |
commit | d86aa4f8ca58898ec6a94c0635da20b948171ed7 (patch) | |
tree | 9f6ca03c0304f1b5fe9f2b1cb4e5cf1b1d9e0a53 /drivers/net/wireless/rtlwifi/wifi.h | |
parent | f5563318ff1bde15b10e736e97ffce13be08bc1a (diff) | |
download | kernel_goldelico_gta04-d86aa4f8ca58898ec6a94c0635da20b948171ed7.zip kernel_goldelico_gta04-d86aa4f8ca58898ec6a94c0635da20b948171ed7.tar.gz kernel_goldelico_gta04-d86aa4f8ca58898ec6a94c0635da20b948171ed7.tar.bz2 |
mac80211: fix crash if bitrate calculation goes wrong
If a frame's timestamp is calculated, and the bitrate
calculation goes wrong and returns zero, the system
will attempt to divide by zero and crash. Catch this
case and print the rate information that the driver
reported when this happens.
Cc: stable@vger.kernel.org
Reported-by: Thomas Lindroth <thomas.lindroth@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
0 files changed, 0 insertions, 0 deletions