nl80211: Remove unnecessary duplication from nl80211_set_param()
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 23 Sep 2016 09:19:57 +0000 (12:19 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 23 Sep 2016 14:36:55 +0000 (17:36 +0300)
commitef24ad3ec5bee3237ff00abd6292891a0c1bf008
tree740412e073e279e080464b09957ce465896b0080
parent4d584d8c2b08d851c2f46b144e54446445f8d1f8
nl80211: Remove unnecessary duplication from nl80211_set_param()

There is no need to find bss->drv separately for each parameter, so do
this once at the beginning of the function.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/drivers/driver_nl80211.c