[PATCH] hostapd: Remove unnecessary condition checking for opmode.
Jouni Malinen
j
Fri Jul 4 01:58:27 PDT 2014
On Fri, Jul 04, 2014 at 10:14:44AM +0200, Marek Kwaczynski wrote:
> diff --git a/src/ap/ieee802_11_vht.c b/src/ap/ieee802_11_vht.c
> @@ -121,16 +121,6 @@ u16 set_sta_vht_opmode(struct hostapd_data *hapd, struct sta_info *sta,
> channel_width = *vht_oper_notif & VHT_OPMODE_CHANNEL_WIDTH_MASK;
>
> - if (channel_width != VHT_CHANWIDTH_USE_HT &&
..
That channel_width is dead code after this removal.. Anyway, commit
35cbadbb14b3c60b737f85940468ad6cfe0f05ad already removed this couple of
weeks ago.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list