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)
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>

No differences found