]> git.karo-electronics.de Git - linux-beck.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)
commit850092db5acfd9cd2c9c2e80ca974843c4f1283b
tree6c092371beface5633d1b0cabef4a757d30e331e
parent6b25e21fa6f26d0f0d45f161d169029411c84286
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