summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-01-23 11:42:14 +0100
committerJohannes Berg <johannes.berg@intel.com>2015-01-23 11:42:14 +0100
commitc5309ba78742483514b8f7e447ebe56685894298 (patch)
tree1fdee41e56f413fa2c0c6f0f70401e5e2e88fda4 /net/mac80211/ibss.c
parentd6f5cc091b04c4364c7cd928cef3dff21e2bef55 (diff)
downloadop-kernel-dev-c5309ba78742483514b8f7e447ebe56685894298.zip
op-kernel-dev-c5309ba78742483514b8f7e447ebe56685894298.tar.gz
mac80211: tdls: disentangle HT supported conditions
These conditions are rather difficult to follow, for example because "!sta" only exists to not crash in the case that we don't have a station pointer (WLAN_TDLS_SETUP_REQUEST) in which the additional condition (peer supports HT) doesn't actually matter anyway. Cleaning this up only duplicates two lines of code but makes the rest far easier to read, so do that. As a side effect, smatch stops complaining about the lack of a sta pointer test after the !sta (since the !sta goes away) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud