BigW Consortium Gitlab

Commit 427ac695 by David Clark

Fixed bugs in AP mode with ifup/ifdown

parent 636c71db
......@@ -38,7 +38,7 @@
#define MT7697_MAX_MC_FILTERS_PER_LIST 7
#define MT7697_MAX_COOKIE_NUM 180
#define MT7697_TX_TIMEOUT 10
#define MT7697_TX_PKT_POOL_LEN 64
#define MT7697_TX_PKT_POOL_LEN 128
/* TODO update below */
#define MT7697_DISCON_TIMER_INTVAL_MSEC (300 * 1000)
......
......@@ -27,13 +27,6 @@ int mt7697_data_tx(struct sk_buff *skb, struct net_device *ndev)
dev_dbg(cfg->dev, "%s(): tx len(%u)\n", __func__, skb->len);
if (!test_bit(CONNECTED, &vif->flags)) {
dev_warn(cfg->dev, "%s(): interface not associated\n",
__func__);
ret = -EAGAIN;
goto cleanup;
}
dev_dbg(cfg->dev, "%s(): headroom skb/needed(%u/%u)\n",
__func__, skb_headroom(skb), ndev->needed_headroom);
if (skb_headroom(skb) < ndev->needed_headroom) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment