summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2x00rfkill.c
diff options
context:
space:
mode:
authorRami Rosen <roszenrami@gmail.com>2008-10-02 15:48:22 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-10-07 00:14:56 +0200
commitf74b6a5498049bab28419a03e4b31fcdbe7a900d (patch)
tree341cd19b3f7e11c8e0119491d6aca3eca25f63c7 /drivers/net/wireless/rt2x00/rt2x00rfkill.c
parentp54: report appropriate rate and band values for 802.11a (diff)
downloadlinux-f74b6a5498049bab28419a03e4b31fcdbe7a900d.tar.xz
linux-f74b6a5498049bab28419a03e4b31fcdbe7a900d.zip
mac80211: remove redundant check in ieee80211_master_start_xmit (net/mac80211/tx.c)
- This patch (against the linux-wireless-next git tree) removes a redundant check in ieee80211_master_start_xmit (net/mac80211/tx.c) and adjust indentation in this method accordingly. In this method, there is no need to call again the ieee80211_is_data() method; this is checked immediately before, in the "if" command (we will not enter this block unless ieee80211_is_data() is true, so that the "and" (&&) condition in that "if" command will be fullfilled ). Signed-off-by: Rami Rosen <ramirose@gmail.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00rfkill.c')
0 files changed, 0 insertions, 0 deletions