]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: remove duplicate check in ieee80211_rx_mgmt_beacon
authorRami Rosen <ramirose@gmail.com>
Thu, 25 Oct 2012 08:16:23 +0000 (10:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Oct 2012 11:33:26 +0000 (13:33 +0200)
commitf87ad637b60a3b789030b3ef969d56a8caec9fed
treed9883c4d4331cb003deb420f9e9e72cc7c4d5685
parenteeb126e9ee5d3b14913863fdd7d88fdbf158318f
mac80211: remove duplicate check in ieee80211_rx_mgmt_beacon

Remove a duplicate check in ieee80211_rx_mgmt_beacon,
there is no need to make again the same check for the
IEEE80211_HW_PS_NULLFUNC_STACK twice; the two ifs can
be consolidated.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
[reword commit message & break long lines and also
 clean up variable]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c