]> git.baikalelectronics.ru Git - kernel.git/commit
rsi: remove unnecessary check for 802.11 management packet
authorPrameela Rani Garnepudi <prameela.j04cs@gmail.com>
Mon, 10 Jul 2017 12:40:35 +0000 (18:10 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 28 Jul 2017 14:25:37 +0000 (17:25 +0300)
commite386485de35775c84a6e89d3259ffe9b05cd9708
tree29ef6c2339182ccb49e0bc025f7e687bd56d7119
parent4962dd0093f1e6150cabdb04c8298e1d07ec0072
rsi: remove unnecessary check for 802.11 management packet

The function rsi_mgmt_pkt_to_core() is for passing the 802.11
management frames to mac80211. So, it is unnecessary to check
again for the frame type 802.11 management in this function.
It can be checked before passing to this function.

Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com>
Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_mgmt.c