]> git.baikalelectronics.ru Git - kernel.git/commit
minstrel_ht: remove unnecessary NULL check in minstrel_ht_update_caps
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 22 Jul 2010 19:36:02 +0000 (15:36 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Jul 2010 19:09:04 +0000 (15:09 -0400)
commit3e015d8c60b0a302e4bc780457dd2b30f011d5b7
tree66e36e0b338564b60be182333c6bdba6b13f0d77
parentb299208785b6940bdd308e8250d693e57e1dd01a
minstrel_ht: remove unnecessary NULL check in minstrel_ht_update_caps

If sta is NULL, we will have problems long before we get here...

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Cc: Felix Fietkau <nbd@openwrt.org>
net/mac80211/rc80211_minstrel_ht.c