]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
batman-adv: Use default throughput value on cfg80211 error
authorSven Eckelmann <sven@narfation.org>
Fri, 9 Jun 2017 15:06:50 +0000 (17:06 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Tue, 13 Jun 2017 10:24:02 +0000 (12:24 +0200)
commit3f3f87325dcb3c201076c81490f4da91ad4c09fc
tree42dcc8909bca16d91c0d9a28922f00511fd0b674
parent75ae84a4fe94133df9293540ad0d2d5c3697edcb
batman-adv: Use default throughput value on cfg80211 error

A wifi interface should never be handled like an ethernet devices. The
parser of the cfg80211 output must therefore skip the ethtool code when
cfg80211_get_station returned an error.

Fixes: f44a3ae9a281 ("batman-adv: refactor wifi interface detection")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Reviewed-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/bat_v_elp.c