]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: remove unnecessary mesh check
authorJohannes Berg <johannes.berg@intel.com>
Tue, 4 Oct 2016 13:32:16 +0000 (15:32 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Oct 2016 08:50:36 +0000 (10:50 +0200)
commiteb54dbeac261f2a1966b72618a1b352d4aa3a4c7
tree6c092371beface5633d1b0cabef4a757d30e331e
parent37fc24df79783615528e974cb6ec7a25bb84c781
mac80211: remove unnecessary mesh check

sta_info_get_bss() is equivalent to sta_info_get() in the
mesh case, since sta->sdata->bss will be NULL (it's only
set for AP/AP_VLAN interfaces.) Thus, the mesh check here
isn't actually needed - remove it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c