]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: have same priority for AP and station traffic
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 11 Sep 2012 01:30:43 +0000 (18:30 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 11 Sep 2012 19:31:52 +0000 (15:31 -0400)
commite7eeea2faec3260c6599dbea6330a906b3e309a1
tree79a8dd012e04cab67e25812ca6ea8c635eff38e1
parent06b3e62901361674921da6d2117b289ebbe7aa38
mwifiex: have same priority for AP and station traffic

Currently AP interface has higher priority over station. Hence
separate entries are created in "adapter->bss_prio_tbl" for these
interfaces and station packet is dequeued only if there is not
packet in queue for AP. It is observed that ping for station
interface doesn't work if heavy traffic is running on AP.

The problem is fixed by having same priority for both the
interfaces. This patch also removes an extra initialisation
for "priv->bss_priority".

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/cfg80211.c
drivers/net/wireless/mwifiex/main.c